From: Jouni Malinen Date: Thu, 25 Aug 2022 17:19:15 +0000 (+0300) Subject: tests: Skip sigma_dut_dpp_tcp_configurator_init_mutual_unsupported_curve if needed X-Git-Tag: hostap_2_11~1766 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d3681f3ea7069872bc7129a57a06ddb610371a;p=thirdparty%2Fhostap.git 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 --- 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")