From: Luke Howard Date: Fri, 21 Oct 2011 03:50:05 +0000 (+1100) Subject: Fix for building without acceptor X-Git-Tag: tr-beta1~62 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=commitdiff_plain;h=d2433169c78f52ec2c09e40c3d1ac0df19cfe656 Fix for building without acceptor --- diff --git a/moonshot/mech_eap/util_cred.c b/moonshot/mech_eap/util_cred.c index 8c954c2..746bd61 100644 --- a/moonshot/mech_eap/util_cred.c +++ b/moonshot/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);