From 05d3681f3ea7069872bc7129a57a06ddb610371a Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 25 Aug 2022 20:19:15 +0300 Subject: [PATCH] tests: Skip sigma_dut_dpp_tcp_configurator_init_mutual_unsupported_curve if needed The part about checking the supported curves from the peer depends on CONFIG_DPP3 and this test case needs to be skipped without that. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 156e02719..f390d6b71 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -3776,8 +3776,8 @@ def test_sigma_dut_dpp_tcp_configurator_init_mutual(dev, apdev): def test_sigma_dut_dpp_tcp_configurator_init_mutual_unsupported_curve(dev, apdev): """sigma_dut DPP TCP Configurator as initiator with mutual authentication (unsupported curve)""" - check_dpp_capab(dev[0], min_ver=2) - check_dpp_capab(dev[1], min_ver=2) + check_dpp_capab(dev[0], min_ver=3) + check_dpp_capab(dev[1], min_ver=3) sigma = start_sigma_dut(dev[0].ifname) try: id_c = dev[1].dpp_bootstrap_gen(supported_curves="P-256:P-384") -- 2.47.2