From: Jouni Malinen Date: Fri, 1 Feb 2019 22:06:04 +0000 (+0200) Subject: tests: Enable ERP testing with PEAP X-Git-Tag: hostap_2_8~481 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b198d281b07d9106e76e574ccc6a370caacf6712;p=thirdparty%2Fhostap.git tests: Enable ERP testing with PEAP Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_erp.py b/tests/hwsim/test_erp.py index 866dea4aa..10b4234ea 100644 --- a/tests/hwsim/test_erp.py +++ b/tests/hwsim/test_erp.py @@ -211,11 +211,10 @@ def test_erp_radius_eap_methods(dev, apdev): password="password") erp_test(dev[0], hapd, eap="PAX", identity="erp-pax@example.com", password_hex="0123456789abcdef0123456789abcdef") - # TODO: PEAP (EMSK) - #if "MSCHAPV2" in eap_methods: - # erp_test(dev[0], hapd, eap="PEAP", identity="erp-peap@example.com", - # password="password", ca_cert="auth_serv/ca.pem", - # phase2="auth=MSCHAPV2") + if "MSCHAPV2" in eap_methods: + erp_test(dev[0], hapd, eap="PEAP", identity="erp-peap@example.com", + password="password", ca_cert="auth_serv/ca.pem", + phase2="auth=MSCHAPV2") erp_test(dev[0], hapd, eap="PSK", identity="erp-psk@example.com", password_hex="0123456789abcdef0123456789abcdef") if "PWD" in eap_methods: