From 387b341ead08b2f090f23df63bbbca92e590970c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 18 Apr 2022 11:20:33 +0300 Subject: [PATCH] tests: Fix SAE-PK capability checks for sigma_dut test cases These were testing only of SAE, not SAE-PK capability, and needs to be skipped in SAE-PK is not included in the build. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 58be761ce..7c1b76ee0 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -5208,7 +5208,7 @@ def test_sigma_dut_ap_gtk_rekey(dev, apdev, params): def test_sigma_dut_sae_pk(dev, apdev): """sigma_dut controlled STA using SAE-PK""" - check_sae_capab(dev[0]) + check_sae_pk_capab(dev[0]) ifname = dev[0].ifname sigma = start_sigma_dut(ifname) @@ -5294,7 +5294,7 @@ def test_sigma_dut_ap_sae_pk(dev, apdev, params): """sigma_dut controlled AP using SAE-PK""" logdir = params['prefix'] + ".sigma-hostapd" conffile = params['prefix'] + ".sigma-conf" - check_sae_capab(dev[0]) + check_sae_pk_capab(dev[0]) tests = [("SAEPK-4.7.1.1", "ya3o-zvm2-r4so", "saepk1.pem", "faa1ef5094bdb4cb2836332ca2c09839", False), ("SAEPK-4.7.1.2", "xcc2-qwru-yg23", "saepk1.pem", @@ -5353,7 +5353,7 @@ def test_sigma_dut_ap_sae_pk_misbehavior(dev, apdev, params): """sigma_dut controlled AP using SAE-PK misbehavior""" logdir = params['prefix'] + ".sigma-hostapd" conffile = params['prefix'] + ".sigma-conf" - check_sae_capab(dev[0]) + check_sae_pk_capab(dev[0]) ssid = "SAEPK-4.7.1.1" pw = "rmj3-ya7b-42k4" keypair = "saepk1.pem"