projects
/
moonshot.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.
[moonshot.git]
/
moonshot
/
mech_eap
/
delete_name_attribute.c
diff --git
a/moonshot/mech_eap/delete_name_attribute.c
b/moonshot/mech_eap/delete_name_attribute.c
index
88cade3
..
3011e94
100644
(file)
--- a/
moonshot/mech_eap/delete_name_attribute.c
+++ b/
moonshot/mech_eap/delete_name_attribute.c
@@
-41,6
+41,7
@@
gss_delete_name_attribute(OM_uint32 *minor,
gss_name_t name,
gss_buffer_t attr)
{
+#ifdef GSSEAP_ENABLE_ACCEPTOR
OM_uint32 major;
*minor = 0;
@@
-57,4
+58,7
@@
gss_delete_name_attribute(OM_uint32 *minor,
GSSEAP_MUTEX_UNLOCK(&name->mutex);
return major;
+#else
+ return GSS_S_UNAVAILABLE;
+#endif
}