diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-10-17 18:10:54 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey94@gmail.com> | 2017-10-19 02:22:28 -0700 |
| commit | 7847ab8270efab472b7b6a4bf9a57f5b83cb7212 (patch) | |
| tree | dc8cb96be83a978389cd59793d18ad13af8df312 /pam/constants.go | |
| parent | 36b313c802f9a8d23f2ad8ce5a59aa05f5925a2f (diff) | |
fmt almost done
Diffstat (limited to 'pam/constants.go')
| -rw-r--r-- | pam/constants.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pam/constants.go b/pam/constants.go index 5c57e06..3747e6f 100644 --- a/pam/constants.go +++ b/pam/constants.go @@ -52,6 +52,9 @@ package pam */ import "C" +// MaxMessageSize is the longest allowed responce length. +const MaxMessageSize = C.PAM_MAX_MSG_SIZE + // Item is a an PAM information type. type Item int @@ -90,7 +93,7 @@ const ( // EstablishCred indicates that credentials should be established // for the user. EstablishCred = C.PAM_ESTABLISH_CRED - // DeleteCred inidicates that credentials should be deleted. + // DeleteCred indicates that credentials should be deleted. DeleteCred = C.PAM_DELETE_CRED // ReinitializeCred indicates that credentials should be fully // reinitialized. |