OM_uint32 *message_context,
gss_buffer_t status_string)
{
- OM_uint32 major, tmpMinor;
+ OM_uint32 major;
krb5_context krbContext;
const char *errMsg;
status_string->length = 0;
status_string->value = NULL;
- if (mech_type != GSS_C_NO_OID &&
- !gssEapIsMechanismOid(mech_type)) {
+ if (!gssEapIsMechanismOid(mech_type)) {
return GSS_S_BAD_MECH;
}