fix some build errors
[mech_eap.git] / canonicalize_name.c
index 0d5e277..f04f75d 100644 (file)
@@ -38,8 +38,7 @@ gss_canonicalize_name(OM_uint32 *minor,
                       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;
     }