X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil_reauth.c;h=1d8dbb14345b0fd623b0c12c56cd12d164ac510d;hb=4d93aaedd99c1dc4f6ecbc0588da12aa16904593;hp=a1d7251bd0ed7972211ebfb879a79087b7296194;hpb=fa210a112d16848a282d662f16f9b8589dd371df;p=mech_eap.orig diff --git a/mech_eap/util_reauth.c b/mech_eap/util_reauth.c index a1d7251..1d8dbb1 100644 --- a/mech_eap/util_reauth.c +++ b/mech_eap/util_reauth.c @@ -429,8 +429,8 @@ getDefaultReauthCredentials(OM_uint32 *minor, GSSEAP_KRB_INIT(&krbContext); - assert(cred != GSS_C_NO_CREDENTIAL); - assert(target != GSS_C_NO_NAME); + GSSEAP_ASSERT(cred != GSS_C_NO_CREDENTIAL); + GSSEAP_ASSERT(target != GSS_C_NO_NAME); if (cred->name == GSS_C_NO_NAME || !reauthUseCredsCache(krbContext, cred->name->krbPrincipal)) @@ -480,7 +480,7 @@ gssEapCanReauthP(gss_cred_id_t cred, time_t now, expiryReq; OM_uint32 minor; - assert(cred != GSS_C_NO_CREDENTIAL); + GSSEAP_ASSERT(cred != GSS_C_NO_CREDENTIAL); now = time(NULL); expiryReq = now;