Browse Source

tests: DPP protocol testing - invalid I-nonce in Auth Req

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen 7 years ago
parent
commit
af872d9d88
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/hwsim/test_dpp.py

+ 4 - 0
tests/hwsim/test_dpp.py

@@ -2594,6 +2594,10 @@ def test_dpp_proto_auth_req_no_i_nonce(dev, apdev):
     """DPP protocol testing - no I-nonce in Auth Req"""
     run_dpp_proto_auth_req_missing(dev, 13, "Missing or invalid I-nonce")
 
+def test_dpp_proto_auth_req_invalid_i_nonce(dev, apdev):
+    """DPP protocol testing - invalid I-nonce in Auth Req"""
+    run_dpp_proto_auth_req_missing(dev, 81, "Missing or invalid I-nonce")
+
 def test_dpp_proto_auth_req_no_i_capab(dev, apdev):
     """DPP protocol testing - no I-capab in Auth Req"""
     run_dpp_proto_auth_req_missing(dev, 14, "Missing or invalid I-capab")