mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-11 22:54:02 -05:00
DPP: Protocol testing - invalid Status value in PKEX Exchange Response
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
d05c82c4d0
commit
f31ef96dc3
@ -5689,6 +5689,11 @@ dpp_pkex_build_exchange_resp(struct dpp_pkex *pkex,
|
|||||||
wpa_printf(MSG_INFO, "DPP: TESTING - no Status");
|
wpa_printf(MSG_INFO, "DPP: TESTING - no Status");
|
||||||
goto skip_status;
|
goto skip_status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dpp_test == DPP_TEST_INVALID_STATUS_PKEX_EXCHANGE_RESP) {
|
||||||
|
wpa_printf(MSG_INFO, "DPP: TESTING - invalid Status");
|
||||||
|
status = 255;
|
||||||
|
}
|
||||||
#endif /* CONFIG_TESTING_OPTIONS */
|
#endif /* CONFIG_TESTING_OPTIONS */
|
||||||
|
|
||||||
/* DPP Status */
|
/* DPP Status */
|
||||||
|
@ -264,6 +264,7 @@ enum dpp_test_behavior {
|
|||||||
DPP_TEST_NO_WRAPPED_DATA_PKEX_CR_RESP = 43,
|
DPP_TEST_NO_WRAPPED_DATA_PKEX_CR_RESP = 43,
|
||||||
DPP_TEST_INVALID_ENCRYPTED_KEY_PKEX_EXCHANGE_REQ = 44,
|
DPP_TEST_INVALID_ENCRYPTED_KEY_PKEX_EXCHANGE_REQ = 44,
|
||||||
DPP_TEST_INVALID_ENCRYPTED_KEY_PKEX_EXCHANGE_RESP = 45,
|
DPP_TEST_INVALID_ENCRYPTED_KEY_PKEX_EXCHANGE_RESP = 45,
|
||||||
|
DPP_TEST_INVALID_STATUS_PKEX_EXCHANGE_RESP = 46,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern enum dpp_test_behavior dpp_test;
|
extern enum dpp_test_behavior dpp_test;
|
||||||
|
Loading…
Reference in New Issue
Block a user