Check for both PKEX v1 and v2 variants of the message.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
"""DPP protocol testing - attribute after Wrapped Data in PKEX CR Req"""
run_dpp_proto_init_pkex(dev, 1, 4)
ev = dev[0].wait_event(["DPP-RX"], timeout=5)
- if ev is None or "type=7" not in ev:
+ if ev is None or ("type=7" not in ev and "type=18" not in ev):
raise Exception("PKEX Exchange Request not seen")
ev = dev[0].wait_event(["DPP-RX"], timeout=5)
if ev is None or "type=9" not in ev: