dpp: check wrapped data exists in authenticate response

This commit is contained in:
James Prestwood 2024-03-04 08:48:46 -08:00 committed by Denis Kenzior
parent 62e2a3535d
commit 405b897687
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}