From 7847ab8270efab472b7b6a4bf9a57f5b83cb7212 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Tue, 17 Oct 2017 18:10:54 -0700 Subject: fmt almost done --- pam/constants.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pam/constants.go') 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. -- cgit v1.2.3