]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip sigma_dut_dpp_tcp_configurator_init_mutual_unsupported_curve if needed
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 25 Aug 2022 17:19:15 +0000 (20:19 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 26 Aug 2022 14:27:45 +0000 (17:27 +0300)
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 <quic_jouni@quicinc.com>
tests/hwsim/test_sigma_dut.py

index 156e02719d5376621ec8438d66eebdbee8d31a70..f390d6b71884250de871292b135fcbbcdeaf065f 100644 (file)
@@ -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")