From e68a2db09c147affbad364048b03d7436ea738ed Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 7 Oct 2015 18:37:57 -0400 Subject: db_pam: I had "0" in the array of possible characters twice --- src/nshd/hackers_git/db_pam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nshd/hackers_git/db_pam.go b/src/nshd/hackers_git/db_pam.go index 230e111..3fc773c 100644 --- a/src/nshd/hackers_git/db_pam.go +++ b/src/nshd/hackers_git/db_pam.go @@ -76,7 +76,7 @@ func (o *Hackers) PAM_Authorization(cred s.Ucred, req p.Request_PAM_Authorizatio return ret } -const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890" +const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" var alphabet_len = big.NewInt(int64(len(alphabet))) -- cgit v1.2.2