From: Luke Howard Date: Sun, 2 Jan 2011 04:25:55 +0000 (+1100) Subject: Add GSSEAP_MISSING_PASSWORD minor status code X-Git-Tag: vm/20110310~70 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=b0d693dfd3ff79a845b09a29cbb7ecf6ef72714d Add GSSEAP_MISSING_PASSWORD minor status code --- diff --git a/gsseap_err.et b/gsseap_err.et index dc3c1e9..9569512 100644 --- a/gsseap_err.et +++ b/gsseap_err.et @@ -75,6 +75,7 @@ error_code GSSEAP_BAD_USAGE, "Credential usage type is unknow error_code GSSEAP_CRED_USAGE_MISMATCH, "Credential usage does not match requested usage" error_code GSSEAP_CRED_MECH_MISMATCH, "Credential is not usable with this mechanism" error_code GSSEAP_BAD_CRED_OPTION, "Bad credential option" +error_code GSSEAP_MISSING_PASSWORD, "Missing initiator credential password" # # Wrap/unwrap/PRF errors diff --git a/util_cred.c b/util_cred.c index fbe1ec0..c74cd24 100644 --- a/util_cred.c +++ b/util_cred.c @@ -205,6 +205,7 @@ gssEapAcquireCred(OM_uint32 *minor, && !gssEapCanReauthP(cred, GSS_C_NO_NAME, timeReq) #endif major = GSS_S_CRED_UNAVAIL; + *minor = GSSEAP_MISSING_PASSWORD; goto cleanup; }