#include "gssapiP_eap.h"
-OM_uint32
+OM_uint32 KRB5_CALLCONV
gss_set_name_attribute(OM_uint32 *minor,
gss_name_t name,
int complete,
gss_buffer_t attr,
gss_buffer_t value)
{
+#ifdef GSSEAP_ENABLE_ACCEPTOR
OM_uint32 major;
if (name == GSS_C_NO_NAME) {
GSSEAP_MUTEX_UNLOCK(&name->mutex);
return major;
+#else
+ return GSS_S_UNAVAILABLE;
+#endif
}