提交 feaaf1db 编写于 作者: N Nils Larsch

ensure that a ec key is used

PR: 1476
上级 82bf227e
......@@ -2129,7 +2129,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
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册