]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Check DPP capability in couple of forgotten cases
authorJouni Malinen <j@w1.fi>
Sat, 13 Mar 2021 23:05:08 +0000 (01:05 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 14 Mar 2021 11:08:04 +0000 (13:08 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dpp.py

index 691a2eaf429e9e0d64cd7dd56ecc916348ad0a84..e3283a678a2668ab213c905cda217f1c3081f042 100644 (file)
@@ -305,6 +305,7 @@ def test_dpp_configurator_enrollee_brainpoolP512r1(dev, apdev):
 
 def test_dpp_configurator_enroll_conf(dev, apdev):
     """DPP Configurator enrolling followed by use of the new Configurator"""
+    check_dpp_capab(dev[0], min_ver=2)
     try:
         dev[0].set("dpp_config_processing", "2")
         run_dpp_configurator_enroll_conf(dev, apdev)
@@ -5995,6 +5996,7 @@ def dpp_sign_cert(cacert, cakey, csr_der):
 
 def test_dpp_enterprise(dev, apdev, params):
     """DPP and enterprise EAP-TLS provisioning"""
+    check_dpp_capab(dev[0], min_ver=2)
     try:
         dev[0].set("dpp_config_processing", "2")
         run_dpp_enterprise(dev, apdev, params)