Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
authorLuke Howard <lukeh@padl.com>
Fri, 21 Oct 2011 03:51:09 +0000 (14:51 +1100)
committerLuke Howard <lukeh@padl.com>
Fri, 21 Oct 2011 03:51:09 +0000 (14:51 +1100)
mech_eap/util_cred.c

index 8c954c2..746bd61 100644 (file)
@@ -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);