From 230028a371ec7b76a40355dd10a078a6043c69fc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 3 Nov 2017 19:41:24 +0200 Subject: [PATCH] tests: DPP protocol testing - invalid Status in PKEX Exchange Response Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 3f527250f..ceec076f5 100644 --- a/tests/hwsim/test_dpp.py +++ b/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)")