projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix incorrect reauth cred assert check
[moonshot.git]
/
moonshot
/
mech_eap
/
util_reauth.c
diff --git
a/moonshot/mech_eap/util_reauth.c
b/moonshot/mech_eap/util_reauth.c
index
32ed781
..
50011ca
100644
(file)
--- a/
moonshot/mech_eap/util_reauth.c
+++ b/
moonshot/mech_eap/util_reauth.c
@@
-485,7
+485,8
@@
gssEapCanReauthP(gss_cred_id_t cred,
time_t now, expiryReq;
OM_uint32 minor;
- GSSEAP_ASSERT(cred != GSS_C_NO_CREDENTIAL);
+ if (cred == GSS_C_NO_CREDENTIAL)
+ return FALSE;
now = time(NULL);
expiryReq = now;