mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Fix sigma_dut_sae_h2e_enabled_group_rejected to clear sae_pwe
This test case was using sigma_dut to set sae_pwe=2, but that value was not cleared in the end. This could result in following SAE test cases failing due to unexpected behavior. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
e81e2091b3
commit
05abebaa06
@ -3955,6 +3955,7 @@ def test_sigma_dut_sae_h2e_enabled_group_rejected(dev, apdev):
|
|||||||
raise Exception("Unexpected connection reported")
|
raise Exception("Unexpected connection reported")
|
||||||
finally:
|
finally:
|
||||||
stop_sigma_dut(sigma)
|
stop_sigma_dut(sigma)
|
||||||
|
dev[0].set("sae_pwe", "0")
|
||||||
|
|
||||||
def test_sigma_dut_sae_h2e_rsnxe_mismatch(dev, apdev):
|
def test_sigma_dut_sae_h2e_rsnxe_mismatch(dev, apdev):
|
||||||
"""sigma_dut controlled SAE H2E misbehavior with RSNXE"""
|
"""sigma_dut controlled SAE H2E misbehavior with RSNXE"""
|
||||||
|
Loading…
Reference in New Issue
Block a user