X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil_cred.c;h=746bd616a5019eaca25976b045a7beb2380d2f8b;hb=3d5083e8a273503d6d5233195d2ee7cb2e754e6d;hp=8c954c2c6f15f89f353c529ff6c7a0f24004a4ea;hpb=25770a55e806a6ec1767f281fcb4245516435fdc;p=mech_eap.orig diff --git a/mech_eap/util_cred.c b/mech_eap/util_cred.c index 8c954c2..746bd61 100644 --- a/mech_eap/util_cred.c +++ b/mech_eap/util_cred.c @@ -307,6 +307,7 @@ gssEapAcquireCred(OM_uint32 *minor, GSSEAP_MUTEX_UNLOCK(&desiredName->mutex); } +#ifdef GSSEAP_ENABLE_ACCEPTOR if (cred->flags & CRED_FLAG_ACCEPT) { struct rs_context *radContext; @@ -316,6 +317,7 @@ gssEapAcquireCred(OM_uint32 *minor, rs_context_destroy(radContext); } +#endif if (pActualMechs != NULL) { major = duplicateOidSet(minor, cred->mechanisms, pActualMechs);