fix pointer alias warning surfaced on FreeBSD
[mech_eap.orig] / inquire_name.c
index c62ff9e..2a4e0e3 100644 (file)
@@ -47,9 +47,9 @@ OM_uint32 gss_inquire_name(OM_uint32 *minor,
     *minor = 0;
 
     if (name_is_MN != NULL)
-        *name_is_MN = 1;
+        *name_is_MN = 0;
     if (MN_mech != NULL)
-        *MN_mech = GSS_EAP_MECHANISM;
+        *MN_mech = GSS_C_NO_OID;
     if (attrs != NULL)
         *attrs = GSS_C_NO_BUFFER_SET;