X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=mech_eap%2Fget_name_attribute.c;h=a88582337d87d42ced1fb55fdb54b3ab76e26de8;hp=d616622172d5ce06897fa9bbd7117f5b9d93d4c6;hb=HEAD;hpb=85893cd14827015aa8f7fc9eea041ff420223d4d diff --git a/mech_eap/get_name_attribute.c b/mech_eap/get_name_attribute.c index d616622..a885823 100644 --- a/mech_eap/get_name_attribute.c +++ b/mech_eap/get_name_attribute.c @@ -36,7 +36,7 @@ * Wrapper for retrieving a naming attribute. */ -OM_uint32 +OM_uint32 GSSAPI_CALLCONV gss_get_name_attribute(OM_uint32 *minor, gss_name_t name, gss_buffer_t attr, @@ -46,7 +46,6 @@ gss_get_name_attribute(OM_uint32 *minor, gss_buffer_t display_value, int *more) { -#ifdef GSSEAP_ENABLE_ACCEPTOR OM_uint32 major; *minor = 0; @@ -65,7 +64,4 @@ gss_get_name_attribute(OM_uint32 *minor, GSSEAP_MUTEX_UNLOCK(&name->mutex); return major; -#else - return GSS_S_UNAVAILABLE; -#endif }