comment out dumping code
[mech_eap.orig] / mech_invoke.c
index e306c0c..2b7fb7e 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
@@ -38,6 +38,7 @@ gssspi_mech_invoke(OM_uint32 *minor,
                    const gss_OID desired_object,
                    gss_buffer_t value)
 {
-    *minor = 0;
+    *minor = GSSEAP_BAD_INVOCATION;
+
     return GSS_S_UNAVAILABLE;
 }