tests: Clear SAE groups for dpp_ap_config_sae
This is needed to avoid failures due to previously executed test cases. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
6c75f1dfaf
commit
1bc93b7fe3
1 changed files with 6 additions and 0 deletions
|
@ -1922,6 +1922,12 @@ def update_hapd_config(hapd):
|
|||
|
||||
def run_dpp_ap_config(dev, apdev, curve=None, conf_curve=None,
|
||||
reconf_configurator=False, sae=False):
|
||||
if sae:
|
||||
check_sae_capab(dev[0])
|
||||
check_sae_capab(dev[1])
|
||||
dev[0].set("sae_groups", "")
|
||||
dev[1].set("sae_groups", "")
|
||||
|
||||
brainpool = (curve and "BP-" in curve) or \
|
||||
(conf_curve and "BP-" in conf_curve)
|
||||
check_dpp_capab(dev[0], brainpool)
|
||||
|
|
Loading…
Reference in a new issue