commit 49607880fc1b016f35315d7e19d16cf30d1a161c
parent bdf328320d895191b4ba8e9779f8ad553fbcbb12
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date: Fri, 31 Jan 2020 14:25:17 -0800
peap: Fail auth. if invalid compound MAC is received
Since the interoperability with the Windows server has been achieved,
witch back to failing authentication if invalid compound MAC is
received.
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/eap-peap.c b/src/eap-peap.c
@@ -244,11 +244,7 @@ static int eap_extensions_handle_cryptobinding_tlv(struct eap_state *eap,
cryptobinding_compound_mac_len)) {
l_error("PEAP: Generated compound MAC and server compound MAC "
"don't match.");
- /*
- * Ignore the Crypto-Binding TLV in the case of unmatched
- * compound MACs.
- */
- return 0;
+ return -EIO;
}
/* Build response Crypto-Binding TLV */