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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-08-25 20:19:15 +03:00 committed by Jouni Malinen
parent 44b26d82b0
commit 05d3681f3e

View 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")