Browse Source

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

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen 7 years ago
parent
commit
230028a371
1 changed files with 5 additions and 0 deletions
  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"""
     """DPP protocol testing - invalid Encrypted Key in PKEX Exchange Response"""
     run_dpp_proto_pkex_resp_missing(dev, 45,
     run_dpp_proto_pkex_resp_missing(dev, 45,
                                     "Invalid Encrypted Key value")
                                     "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)")