]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: ERP with EAP-IKEv2
authorJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 21:48:53 +0000 (23:48 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 21:48:53 +0000 (23:48 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/auth_serv/eap_user.conf
tests/hwsim/test_erp.py

index 0ec4c634204dda59b28c18711eba1fbb22786318..55569e217ad2282290c2e85778724e8608d018e9 100644 (file)
@@ -23,6 +23,7 @@
 "erp-tls@example.com"  TLS
 "erp-ttls@example.com" TTLS
 "erp-ttls@example.com" TTLS-PAP        "password"      [2]
+"erp-ikev2@example.com"        IKEV2   "password"
 
 "vlan1"        PAX     0123456789abcdef0123456789abcdef
 radius_accept_attr=64:d:13
index bfc3b12d9b77e95f5a7d2725dabdee155b286a44..5073622c7836da179aaca3598300ad0d75daf338 100644 (file)
@@ -194,6 +194,8 @@ def test_erp_radius_eap_methods(dev, apdev):
              phase1="fast_provisioning=2", pac_file="blob://fast_pac_auth_erp")
     erp_test(dev[0], hapd, eap="GPSK", identity="erp-gpsk@example.com",
              password="abcdefghijklmnop0123456789abcdef")
+    erp_test(dev[0], hapd, eap="IKEV2", identity="erp-ikev2@example.com",
+             password="password")
     erp_test(dev[0], hapd, eap="PAX", identity="erp-pax@example.com",
              password_hex="0123456789abcdef0123456789abcdef")
     # TODO: PEAP (EMSK)