diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-07 18:37:57 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-07 18:37:57 -0400 |
commit | e68a2db09c147affbad364048b03d7436ea738ed (patch) | |
tree | d5fde9487b8f617124b91cb0af6e56daf012dda1 /src/nshd/hackers_git | |
parent | ad1dec18b3fcd809e198af51344564413c6816d1 (diff) |
db_pam: I had "0" in the array of possible characters twice
Diffstat (limited to 'src/nshd/hackers_git')
-rw-r--r-- | src/nshd/hackers_git/db_pam.go | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |