projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7a957
)
Add GSSEAP_MISSING_PASSWORD minor status code
author
Luke Howard
<lukeh@padl.com>
Sun, 2 Jan 2011 04:25:55 +0000
(15:25 +1100)
committer
Luke Howard
<lukeh@padl.com>
Sun, 2 Jan 2011 04:25:55 +0000
(15:25 +1100)
gsseap_err.et
patch
|
blob
|
history
util_cred.c
patch
|
blob
|
history
diff --git
a/gsseap_err.et
b/gsseap_err.et
index
dc3c1e9
..
9569512
100644
(file)
--- 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
(file)
--- 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;
}