commit 405b897687cd5e324f34bdf1bba9d370940bbd16 parent 62e2a3535d39b6ce6a6c0fa6297831c65672b794 Author: James Prestwood <prestwoj@gmail.com> Date: Mon, 4 Mar 2024 08:48:46 -0800 dpp: check wrapped data exists in authenticate response Diffstat:
| M | src/dpp.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dpp.c b/src/dpp.c @@ -2368,7 +2368,7 @@ static void authenticate_response(struct dpp_sm *dpp, const uint8_t *from, } } - if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto ) { + if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto || !wrapped) { l_debug("Auth response bad status or missing attributes"); return; }