Revert "[wpa_supplicant] Cumulative patch from b8491ae5a"
This reverts commit 878cf7bcbf2d7d8f08c3d060b8c5fbfcf0743eda.
Reason for revert: git_master/sdk_phone_armv7-sdk
Change-Id: I6070fc5c1f9c20867f6dfce90e529e35578d572e
diff --git a/src/eap_peer/eap.c b/src/eap_peer/eap.c
index ac15e0e..974c475 100644
--- a/src/eap_peer/eap.c
+++ b/src/eap_peer/eap.c
@@ -2097,8 +2097,12 @@
}
}
- sm->eapol_cb->notify_cert(sm->eapol_ctx, &data->peer_cert,
- hash_hex);
+ sm->eapol_cb->notify_cert(sm->eapol_ctx,
+ data->peer_cert.depth,
+ data->peer_cert.subject,
+ data->peer_cert.altsubject,
+ data->peer_cert.num_altsubject,
+ hash_hex, data->peer_cert.cert);
break;
case TLS_ALERT:
if (data->alert.is_local)
@@ -2603,7 +2607,7 @@
if (vendor != EAP_VENDOR_IETF)
return 0;
return type != EAP_TYPE_PEAP && type != EAP_TYPE_TTLS &&
- type != EAP_TYPE_FAST && type != EAP_TYPE_TEAP;
+ type != EAP_TYPE_FAST;
}