From b198d281b07d9106e76e574ccc6a370caacf6712 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 2 Feb 2019 00:06:04 +0200 Subject: [PATCH] tests: Enable ERP testing with PEAP Signed-off-by: Jouni Malinen --- tests/hwsim/test_erp.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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: