summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-10-07 18:37:57 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-10-07 18:37:57 -0400
commite68a2db09c147affbad364048b03d7436ea738ed (patch)
treed5fde9487b8f617124b91cb0af6e56daf012dda1
parentad1dec18b3fcd809e198af51344564413c6816d1 (diff)
db_pam: I had "0" in the array of possible characters twice
-rw-r--r--src/nshd/hackers_git/db_pam.go2
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)))