const gss_OID mech_type,
gss_name_t *output_name)
{
- if (mech_type != GSS_C_NULL_OID &&
- !gssEapIsMechanismOid(mech_type)) {
+ if (!gssEapIsMechanismOid(mech_type)) {
*minor = 0;
return GSS_S_BAD_MECH;
}
- return gss_duplicate_name(minor, input_name, output_name);
+ return gssEapDuplicateName(minor, input_name, output_name);
}