mirror of
https://github.com/openssl/openssl.git
synced 2024-11-30 21:44:16 +08:00
initialise dh_clnt
This commit is contained in:
parent
98909c1d5b
commit
08e4ea4884
@ -2432,6 +2432,7 @@ int ssl3_send_client_key_exchange(SSL *s)
|
||||
{
|
||||
/* Use client certificate key */
|
||||
EVP_PKEY *clkey = s->cert->key->privatekey;
|
||||
dh_clnt = NULL;
|
||||
if (clkey)
|
||||
dh_clnt = EVP_PKEY_get1_DH(clkey);
|
||||
if (dh_clnt == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user