From 5ce5ed88a9c782f946854693ca8a658e5417f4ab Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 10 Mar 2022 01:28:51 +0200 Subject: [PATCH] tests: Fix dpp_own_config_curve_mismatch to match implementation This test case was assuming the Configurator would change the netAccessKey curve every time based on the protocol keys, but that is not the case anymore, so force that change here for a negative test. Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index e7c2783bd..2deb7205a 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -3142,6 +3142,7 @@ def run_dpp_own_config(dev, apdev, own_curve=None, expect_failure=False, dev[0].set("dpp_config_processing", "1") cmd = "DPP_CONFIGURATOR_SIGN conf=sta-dpp configurator=%d%s" % (conf_id, extra) if own_curve: + dev[0].dpp_configurator_set(conf_id, net_access_key_curve=own_curve) cmd += " curve=" + own_curve res = dev[0].request(cmd) if "FAIL" in res: