comment out dumping code
[mech_eap.orig] / inquire_name.c
index 1cd8f73..2a4e0e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * SUCH DAMAGE.
  */
 
+/*
+ * Enumerate name attributes.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32 gss_inquire_name(OM_uint32 *minor,
@@ -43,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;