diff options
author | James Prestwood <prestwoj@gmail.com> | 2024-03-04 08:48:46 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2024-03-04 13:48:08 -0600 |
commit | 405b897687cd5e324f34bdf1bba9d370940bbd16 (patch) | |
tree | 926a11ec64f5a693b39c0acdca71966c613ce678 | |
parent | 62e2a3535d39b6ce6a6c0fa6297831c65672b794 (diff) |
dpp: check wrapped data exists in authenticate response
-rw-r--r-- | src/dpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |