X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=blobdiff_plain;f=moonshot%2Fmech_eap%2Futil_reauth.c;h=50011caef0f2a7383c0775642d692b29560d5091;hp=32ed781d659ee09f4c5c619581ca5b0f7b325846;hb=72e1f288545e07166e9442073f045cdde562d367;hpb=334b930b08f1d95467b84948d00f2ac69a7d6712 diff --git a/moonshot/mech_eap/util_reauth.c b/moonshot/mech_eap/util_reauth.c index 32ed781..50011ca 100644 --- 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;