Parcourir la source

tests: DPP protocol testing - invalid Status in PKEX Exchange Response

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen il y a 7 ans
Parent
commit
230028a371
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      tests/hwsim/test_dpp.py

+ 5 - 0
tests/hwsim/test_dpp.py

@@ -2595,3 +2595,8 @@ def test_dpp_proto_pkex_exchange_resp_invalid_encrypted_key(dev, apdev):
     """DPP protocol testing - invalid Encrypted Key in PKEX Exchange Response"""
     run_dpp_proto_pkex_resp_missing(dev, 45,
                                     "Invalid Encrypted Key value")
+
+def test_dpp_proto_pkex_exchange_resp_invalid_status(dev, apdev):
+    """DPP protocol testing - invalid Status in PKEX Exchange Response"""
+    run_dpp_proto_pkex_resp_missing(dev, 46,
+                                    "PKEX failed (peer indicated failure)")