From ea6464b07f00cd960c2a7c1bec96ba9a3b3cab83 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 18 May 2014 00:33:59 +0300 Subject: [PATCH] tests: EAP-PEAP crypto_binding=0/1 Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_eap.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index bbcfed393..5285fd18e 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -685,6 +685,15 @@ def test_ap_wpa2_eap_peap_crypto_binding(dev, apdev): hwsim_utils.test_connectivity(dev[0].ifname, apdev[0]['ifname']) eap_reauth(dev[0], "PEAP") + eap_connect(dev[1], apdev[0], "PEAP", "user", password="password", + ca_cert="auth_serv/ca.pem", + phase1="peapver=0 crypto_binding=1", + phase2="auth=MSCHAPV2") + eap_connect(dev[2], apdev[0], "PEAP", "user", password="password", + ca_cert="auth_serv/ca.pem", + phase1="peapver=0 crypto_binding=0", + phase2="auth=MSCHAPV2") + def test_ap_wpa2_eap_peap_eap_tls(dev, apdev): """WPA2-Enterprise connection using EAP-PEAP/EAP-TLS""" params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")