projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8f5d4
)
don't fail hard if reauth cred generation fails
author
Luke Howard
<lukeh@padl.com>
Tue, 8 Mar 2011 13:04:28 +0000
(
00:04
+1100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 8 Mar 2011 13:38:49 +0000
(
00:38
+1100)
mech_eap/accept_sec_context.c
patch
|
blob
|
history
diff --git
a/mech_eap/accept_sec_context.c
b/mech_eap/accept_sec_context.c
index
5b3d53f
..
47bb64f
100644
(file)
--- a/
mech_eap/accept_sec_context.c
+++ b/
mech_eap/accept_sec_context.c
@@
-617,8
+617,10
@@
eapGssSmAcceptReauthCreds(OM_uint32 *minor,
* fabricate a ticket from the initiator to ourselves.
*/
major = gssEapMakeReauthCreds(minor, ctx, cred, outputToken);
- if (GSS_ERROR(major))
- return major;
+ if (major == GSS_S_UNAVAILABLE)
+ major = GSS_S_COMPLETE;
+ if (major == GSS_S_COMPLETE)
+ major = GSS_S_CONTINUE_NEEDED;
return major;
}