From 6cfccfec3349edd01553f538e4f32fb000930385 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 6 Apr 2012 11:35:45 +0000 Subject: [PATCH] Backport: initialise dh_clnt (from HEAD) --- ssl/s3_clnt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index c4ff1ea7a6..be64f95646 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -2466,6 +2466,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) -- 2.40.0