some more fixes to almost get things working
[mech_eap.orig] / init_sec_context.c
index 1268d20..b386c96 100644 (file)
@@ -399,7 +399,7 @@ eapGssSmInitAuthenticate(OM_uint32 *minor,
         resp = &emptyWpaBuffer;
         major = GSS_S_CONTINUE_NEEDED;
     } else {
-        major = GSS_S_FAILURE;
+        major = GSS_S_DEFECTIVE_TOKEN;
     }
 
 cleanup: