projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Conditionalized Acceptor codepaths and modules.
[mech_eap.git]
/
mech_eap
/
get_name_attribute.c
diff --git
a/mech_eap/get_name_attribute.c
b/mech_eap/get_name_attribute.c
index
8273368
..
d616622
100644
(file)
--- a/
mech_eap/get_name_attribute.c
+++ b/
mech_eap/get_name_attribute.c
@@
-46,6
+46,7
@@
gss_get_name_attribute(OM_uint32 *minor,
gss_buffer_t display_value,
int *more)
{
+#ifdef GSSEAP_ENABLE_ACCEPTOR
OM_uint32 major;
*minor = 0;
@@
-64,4
+65,7
@@
gss_get_name_attribute(OM_uint32 *minor,
GSSEAP_MUTEX_UNLOCK(&name->mutex);
return major;
+#else
+ return GSS_S_UNAVAILABLE;
+#endif
}