DPP2: Reconfig Authentication Confirm processing
Extend Enrollee functionality to process Reconfig Authentication Confirm message and start GAS client. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
24b01c706b
commit
3e48c5d4b4
4 changed files with 169 additions and 2 deletions
|
@ -4756,8 +4756,15 @@ static void dpp_copy_netaccesskey(struct dpp_authentication *auth,
|
|||
unsigned char *der = NULL;
|
||||
int der_len;
|
||||
EC_KEY *eckey;
|
||||
EVP_PKEY *own_key;
|
||||
|
||||
eckey = EVP_PKEY_get1_EC_KEY(auth->own_protocol_key);
|
||||
own_key = auth->own_protocol_key;
|
||||
#ifdef CONFIG_DPP2
|
||||
if (auth->reconfig_connector_key == DPP_CONFIG_REUSEKEY &&
|
||||
auth->reconfig_old_protocol_key)
|
||||
own_key = auth->reconfig_old_protocol_key;
|
||||
#endif /* CONFIG_DPP2 */
|
||||
eckey = EVP_PKEY_get1_EC_KEY(own_key);
|
||||
if (!eckey)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue