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: e4eb009d98
("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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue