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:
e006a65
)
don't fail reauth if there is any keytab error
author
Luke Howard
<lukeh@padl.com>
Fri, 18 Mar 2011 06:09:21 +0000
(17:09 +1100)
committer
Luke Howard
<lukeh@padl.com>
Fri, 18 Mar 2011 06:12:53 +0000
(17:12 +1100)
util_reauth.c
patch
|
blob
|
history
diff --git
a/util_reauth.c
b/util_reauth.c
index
22f089f
..
72c789f
100644
(file)
--- a/
util_reauth.c
+++ b/
util_reauth.c
@@
-217,11
+217,10
@@
gssEapMakeReauthCreds(OM_uint32 *minor,
GSSEAP_KRB_INIT(&krbContext);
code = getAcceptorKey(krbContext, ctx, cred, &server, &acceptorKey);
- if (code
== KRB5_KT_NOTFOUND
) {
+ if (code
!= 0
) {
*minor = code;
return GSS_S_UNAVAILABLE;
- } else if (code != 0)
- goto cleanup;
+ }
/*
* Generate a random session key to place in the ticket and