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:
1c02ebc
)
don't enable GSSEAP_CREDS hack unless using default identity
author
Luke Howard
<lukeh@padl.com>
Wed, 16 Mar 2011 07:13:16 +0000
(18:13 +1100)
committer
Luke Howard
<lukeh@padl.com>
Wed, 16 Mar 2011 07:13:36 +0000
(18:13 +1100)
util_cred.c
patch
|
blob
|
history
diff --git
a/util_cred.c
b/util_cred.c
index
a2a01ba
..
3b06a53
100644
(file)
--- a/
util_cred.c
+++ b/
util_cred.c
@@
-200,6
+200,7
@@
gssEapAcquireCred(OM_uint32 *minor,
#ifdef GSSEAP_DEBUG
if (password == GSS_C_NO_BUFFER &&
+ (cred->flags & CRED_FLAG_DEFAULT_IDENTITY) &&
(envPassword.value = getenv("GSSEAP_CREDS")) != NULL) {
envPassword.length = strlen((char *)envPassword.value);
major = duplicateBuffer(minor, &envPassword, &cred->password);