ensure that a ec key is used
PR: 1476
This commit is contained in:
parent
53707e2eec
commit
f418265865
1 changed files with 1 additions and 1 deletions
|
@ -2063,7 +2063,7 @@ int ssl3_get_client_key_exchange(SSL *s)
|
|||
if (l & SSL_kECDH)
|
||||
{
|
||||
/* use the certificate */
|
||||
tkey = s->cert->key->privatekey->pkey.ec;
|
||||
tkey = s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue