summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/db_pam.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:33:04 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:33:04 -0600
commit212105ea42362d49416e9d32261e2e099632c38c (patch)
treec0ba9066a9b44aeb50e0f95440fe4bade09cc3e9 /src/nshd/hackers_git/db_pam.go
parent26ccaab75a1eae3d71a6497dacc7818f8e62417d (diff)
clean up formatting
Diffstat (limited to 'src/nshd/hackers_git/db_pam.go')
-rw-r--r--src/nshd/hackers_git/db_pam.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nshd/hackers_git/db_pam.go b/src/nshd/hackers_git/db_pam.go
index 7c20a56..d4df99a 100644
--- a/src/nshd/hackers_git/db_pam.go
+++ b/src/nshd/hackers_git/db_pam.go
@@ -49,6 +49,7 @@ func (o *Hackers) PAM_Authorization(cred p.Ucred, req p.Request_PAM_Authorizatio
}
const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890"
+
var alphabet_len = big.NewInt(int64(len(alphabet)))
func (o *Hackers) PAM_SessionOpen(cred p.Ucred, req p.Request_PAM_SessionOpen) p.PAM_SessionOpen_Enumerator {