mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: OWE: allow hex integers from tshark
Old versions of tshark would dump these values as hex. Allow parsing as either decimal or hex. Signed-off-by: Brian Norris <briannorris@chromium.org>
This commit is contained in:
parent
2ba6aa6045
commit
e371d3771c
@ -414,7 +414,8 @@ def test_owe_limited_group_set_pmf(dev, apdev, params):
|
||||
logger.info("Association Response frame status codes: " + str(status))
|
||||
if len(status) != 3:
|
||||
raise Exception("Unexpected number of Association Response frames")
|
||||
if int(status[0]) != 77 or int(status[1]) != 77 or int(status[2]) != 0:
|
||||
if (int(status[0], base=0) != 77 or int(status[1], base=0) != 77 or
|
||||
int(status[2], base=0) != 0):
|
||||
raise Exception("Unexpected Association Response frame status code")
|
||||
|
||||
def test_owe_group_negotiation(dev, apdev):
|
||||
|
Loading…
Reference in New Issue
Block a user