delegate output token criticality to handler
[mech_eap.orig] / inquire_mechs_for_name.c
index 2624dac..63dcd6e 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.
  */
 
+/*
+ * Determine mechanism OIDs supported by name.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -37,5 +41,5 @@ gss_inquire_mechs_for_name(OM_uint32 *minor,
                            const gss_name_t input_name,
                            gss_OID_set *mech_types)
 {
-    GSSEAP_NOT_IMPLEMENTED;
+    return gssEapIndicateMechs(minor, mech_types);
 }