projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for building without acceptor
[mech_eap.orig]
/
mech_eap
/
util_cred.c
diff --git
a/mech_eap/util_cred.c
b/mech_eap/util_cred.c
index
8c954c2
..
746bd61
100644
(file)
--- 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);
}
GSSEAP_MUTEX_UNLOCK(&desiredName->mutex);
}
+#ifdef GSSEAP_ENABLE_ACCEPTOR
if (cred->flags & CRED_FLAG_ACCEPT) {
struct rs_context *radContext;
if (cred->flags & CRED_FLAG_ACCEPT) {
struct rs_context *radContext;
@@
-316,6
+317,7
@@
gssEapAcquireCred(OM_uint32 *minor,
rs_context_destroy(radContext);
}
rs_context_destroy(radContext);
}
+#endif
if (pActualMechs != NULL) {
major = duplicateOidSet(minor, cred->mechanisms, pActualMechs);
if (pActualMechs != NULL) {
major = duplicateOidSet(minor, cred->mechanisms, pActualMechs);