]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix SAE-PK capability checks for sigma_dut test cases
authorJouni Malinen <j@w1.fi>
Mon, 18 Apr 2022 08:20:33 +0000 (11:20 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 18 Apr 2022 08:20:33 +0000 (11:20 +0300)
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 <j@w1.fi>
tests/hwsim/test_sigma_dut.py

index 58be761ce0da964ed834daa7665c8a753df59105..7c1b76ee05f992e9b3e740b29593c8093001705f 100644 (file)
@@ -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"