]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP2: Fix ppkey parsing
authorJouni Malinen <jouni@codeaurora.org>
Mon, 2 Nov 2020 14:31:02 +0000 (16:31 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 2 Nov 2020 14:31:02 +0000 (16:31 +0200)
commit589bf1f7a962e006153125ba9bc2a2a7f21a0db6
treeefc269c67f54a3f50a69bb6b040784dc517fb762
parent79e3f08d3c2749fb58bb07910306495331ee0198
DPP2: Fix ppkey parsing

DPP_CONFIGURATOR_ADD processing of the new ppkey parameter had a
copy-paste error in determining the correct length of this parameter.
Fix that by referencing the correct pointer.

Fixes: 9c1fbff07404 ("DPP2: Generate a privacy protection key for Configurator")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c