summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-08-18 19:46:56 +0300
committerJouni Malinen <j@w1.fi>2015-08-18 19:46:56 +0300
commitdb036ed53d0efa9a35b6e8a13c98f86ca9ee41e5 (patch)
tree76bfcdcf5cacc03e5fc99119d6d58695efd8b517 /tests
parenta68d17929b90e7b26a6f3d0814041a6cfdad88d1 (diff)
downloadhostap-db036ed53d0efa9a35b6e8a13c98f86ca9ee41e5.tar.gz
tests: Use group 26 instead of 25 in sae_oom_wpas with BoringSSL
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_sae.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py
index 372a0ca08..ba70f75f9 100644
--- a/tests/hwsim/test_sae.py
+++ b/tests/hwsim/test_sae.py
@@ -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")