]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Enable ERP testing with PEAP
authorJouni Malinen <j@w1.fi>
Fri, 1 Feb 2019 22:06:04 +0000 (00:06 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Feb 2019 22:06:04 +0000 (00:06 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_erp.py

index 866dea4aa9a9defed21c0e93ea85e718e7c5f5a2..10b4234ea327eff8f1399f59af8ab3a5d8b7118a 100644 (file)
@@ -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: