From: Dr. Stephen Henson Date: Thu, 26 Jan 2012 14:37:46 +0000 (+0000) Subject: initialise dh_clnt X-Git-Tag: master-post-reformat~1969 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08e4ea4884bc0ee9688255771bc7398cd2ccd394;p=oweals%2Fopenssl.git initialise dh_clnt --- diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 4f884c69c1..7a8b7f27d0 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -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)