Browse Source

tests: Use group 26 instead of 25 in mesh test cases

This allows mesh_sae_groups_invalid and
wpas_mesh_secure_sae_group_negotiation to be run with BoringSSL (group
25 not available anymore).

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 7 years ago
parent
commit
a680f4ef39
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/hwsim/test_wpas_mesh.py

+ 3 - 3
tests/hwsim/test_wpas_mesh.py

@@ -490,11 +490,11 @@ def test_wpas_mesh_secure_sae_group_negotiation(dev, apdev):
     addr1 = dev[1].own_addr()
     addr1 = dev[1].own_addr()
 
 
     #dev[0].request("SET sae_groups 21 20 25 26")
     #dev[0].request("SET sae_groups 21 20 25 26")
-    dev[0].request("SET sae_groups 25")
+    dev[0].request("SET sae_groups 26")
     id = add_mesh_secure_net(dev[0])
     id = add_mesh_secure_net(dev[0])
     dev[0].mesh_group_add(id)
     dev[0].mesh_group_add(id)
 
 
-    dev[1].request("SET sae_groups 19 25")
+    dev[1].request("SET sae_groups 19 26")
     id = add_mesh_secure_net(dev[1])
     id = add_mesh_secure_net(dev[1])
     dev[1].mesh_group_add(id)
     dev[1].mesh_group_add(id)
 
 
@@ -1669,7 +1669,7 @@ def test_mesh_sae_groups_invalid(dev, apdev):
     """Mesh with invalid SAE group configuration"""
     """Mesh with invalid SAE group configuration"""
     check_mesh_support(dev[0], secure=True)
     check_mesh_support(dev[0], secure=True)
 
 
-    dev[0].request("SET sae_groups 25")
+    dev[0].request("SET sae_groups 26")
     id = add_mesh_secure_net(dev[0])
     id = add_mesh_secure_net(dev[0])
     dev[0].mesh_group_add(id)
     dev[0].mesh_group_add(id)