From db036ed53d0efa9a35b6e8a13c98f86ca9ee41e5 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 18 Aug 2015 19:46:56 +0300 Subject: [PATCH] tests: Use group 26 instead of 25 in sae_oom_wpas with BoringSSL Signed-off-by: Jouni Malinen --- tests/hwsim/test_sae.py | 3 +++ 1 file changed, 3 insertions(+) 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")