From: Jouni Malinen Date: Tue, 11 Jan 2022 12:09:43 +0000 (+0200) Subject: tests: Do not use SAE group 26 X-Git-Tag: hostap_2_10~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500813f9f31700db2aa38a3f825a268e58b92ec9;p=thirdparty%2Fhostap.git tests: Do not use SAE group 26 This group should not be used with SAE and as such, it could cause confusing test errors here. Use an acceptable group instead. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index a8a4ac00c..f5cde1ac3 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -234,7 +234,7 @@ def test_sae_group_nego(dev, apdev): params['sae_groups'] = '19' hostapd.add_ap(apdev[0], params) - dev[0].request("SET sae_groups 25 26 20 19") + dev[0].request("SET sae_groups 25 20 19") dev[0].connect("test-sae-group-nego", psk="12345678", key_mgmt="SAE", scan_freq="2412") if dev[0].get_status_field('sae_group') != '19': diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 0caed771e..71825dc65 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -613,7 +613,7 @@ def test_wpas_mesh_secure_sae_group_mismatch(dev, apdev): id = add_mesh_secure_net(dev[1]) dev[1].mesh_group_add(id) - dev[2].request("SET sae_groups 26") + dev[2].request("SET sae_groups 20") id = add_mesh_secure_net(dev[2]) dev[2].mesh_group_add(id) @@ -656,11 +656,11 @@ def test_wpas_mesh_secure_sae_group_negotiation(dev, apdev): addr1 = dev[1].own_addr() #dev[0].request("SET sae_groups 21 20 25 26") - dev[0].request("SET sae_groups 26") + dev[0].request("SET sae_groups 25") id = add_mesh_secure_net(dev[0]) dev[0].mesh_group_add(id) - dev[1].request("SET sae_groups 19 26") + dev[1].request("SET sae_groups 19 25") id = add_mesh_secure_net(dev[1]) dev[1].mesh_group_add(id) @@ -1827,7 +1827,7 @@ def test_mesh_sae_groups_invalid(dev, apdev): """Mesh with invalid SAE group configuration""" check_mesh_support(dev[0], secure=True) - dev[0].request("SET sae_groups 26") + dev[0].request("SET sae_groups 25") id = add_mesh_secure_net(dev[0]) dev[0].mesh_group_add(id)