mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
DPP2: Store netAccessKey in psk/sae credentials for reconfig
Connector alone is not sufficient for authentication during reconfiguration, so store the netAccessKey as well. Fixes: e4eb009d9863 ("DPP2: Add Connector and C-sign-key in psk/sae credentials for reconfig") Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
bf9f49396b
commit
872299f4b3
@ -6724,7 +6724,7 @@ static int dpp_parse_cred_dpp(struct dpp_authentication *auth,
|
|||||||
conf->connector = os_strdup(signed_connector);
|
conf->connector = os_strdup(signed_connector);
|
||||||
|
|
||||||
dpp_copy_csign(conf, csign_pub);
|
dpp_copy_csign(conf, csign_pub);
|
||||||
if (dpp_akm_dpp(conf->akm))
|
if (dpp_akm_dpp(conf->akm) || auth->peer_version >= 2)
|
||||||
dpp_copy_netaccesskey(auth, conf);
|
dpp_copy_netaccesskey(auth, conf);
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user