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
/
set_name_attribute.c
diff --git
a/mech_eap/set_name_attribute.c
b/mech_eap/set_name_attribute.c
index
6dd9434
..
b8793b4
100644
(file)
--- a/
mech_eap/set_name_attribute.c
+++ b/
mech_eap/set_name_attribute.c
@@
-43,6
+43,7
@@
gss_set_name_attribute(OM_uint32 *minor,
gss_buffer_t attr,
gss_buffer_t value)
{
+#ifdef GSSEAP_ENABLE_ACCEPTOR
OM_uint32 major;
if (name == GSS_C_NO_NAME) {
@@
-57,4
+58,7
@@
gss_set_name_attribute(OM_uint32 *minor,
GSSEAP_MUTEX_UNLOCK(&name->mutex);
return major;
+#else
+ return GSS_S_UNAVAILABLE;
+#endif
}