peerNotifyPending,
};
+#ifdef GSSEAP_DEBUG
extern int wpa_debug_level;
+#endif
static OM_uint32
peerConfigInit(OM_uint32 *minor,
GSSEAP_KRB_INIT(&krbContext);
eapPeerConfig->fragment_size = 1024;
+#ifdef GSSEAP_DEBUG
wpa_debug_level = 0;
+#endif
assert(cred->name != GSS_C_NO_NAME);
major = load_uint32_be(&p[0]);
*minor = ERROR_TABLE_BASE_eapg + load_uint32_be(&p[4]);
- if (!GSS_ERROR(major)) {
+ if (!GSS_ERROR(major) || !IS_WIRE_ERROR(*minor)) {
major = GSS_S_FAILURE;
*minor = GSSEAP_BAD_ERROR_TOKEN;
}