projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
call gssEapInquireName() only when --enable-acceptor=yes
[moonshot.git]
/
moonshot
/
mech_eap
/
inquire_name.c
diff --git
a/moonshot/mech_eap/inquire_name.c
b/moonshot/mech_eap/inquire_name.c
index
3e707ed
..
f3eeadf
100644
(file)
--- a/
moonshot/mech_eap/inquire_name.c
+++ b/
moonshot/mech_eap/inquire_name.c
@@
-64,7
+64,11
@@
gss_inquire_name(OM_uint32 *minor,
GSSEAP_MUTEX_LOCK(&name->mutex);
+#ifdef GSSEAP_ENABLE_ACCEPTOR
major = gssEapInquireName(minor, name, name_is_MN, MN_mech, attrs);
+#else
+ major = GSS_S_UNAVAILABLE;
+#endif
GSSEAP_MUTEX_UNLOCK(&name->mutex);