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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-03-10 01:28:51 +02:00 committed by Jouni Malinen
parent c4a36d050a
commit 5ce5ed88a9

View file

@ -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: