tests: Use group 26 instead of 25 in sae_oom_wpas with BoringSSL
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 18 Aug 2015 16:46:56 +0000 (19:46 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 18 Aug 2015 16:46:56 +0000 (19:46 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_sae.py

index 372a0ca..ba70f75 100644 (file)
@@ -386,6 +386,9 @@ def test_sae_oom_wpas(dev, apdev):
     hapd = hostapd.add_ap(apdev[0]['ifname'], params)
 
     dev[0].request("SET sae_groups 25")
+    tls = dev[0].request("GET tls_library")
+    if "BoringSSL" in tls:
+        dev[0].request("SET sae_groups 26")
     with alloc_fail(dev[0], 1, "sae_set_group"):
         dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
                        scan_freq="2412")