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.h b/src/eap_peer/eap.h
index acd70d0..d0837e3 100644
--- a/src/eap_peer/eap.h
+++ b/src/eap_peer/eap.h
@@ -16,7 +16,6 @@
 struct eap_sm;
 struct wpa_config_blob;
 struct wpabuf;
-struct tls_cert_data;
 
 struct eap_method_type {
 	int vendor;
@@ -227,11 +226,16 @@
 	/**
 	 * notify_cert - Notification of a peer certificate
 	 * @ctx: eapol_ctx from eap_peer_sm_init() call
-	 * @cert: Certificate information
+	 * @depth: Depth in certificate chain (0 = server)
+	 * @subject: Subject of the peer certificate
+	 * @altsubject: Select fields from AltSubject of the peer certificate
+	 * @num_altsubject: Number of altsubject values
 	 * @cert_hash: SHA-256 hash of the certificate
+	 * @cert: Peer certificate
 	 */
-	void (*notify_cert)(void *ctx, struct tls_cert_data *cert,
-			    const char *cert_hash);
+	void (*notify_cert)(void *ctx, int depth, const char *subject,
+			    const char *altsubject[], int num_altsubject,
+			    const char *cert_hash, const struct wpabuf *cert);
 
 	/**
 	 * notify_status - Notification of the current EAP state