From dad239d08be1f2abe7e54d9332f1eb87acebf987 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 23 Jan 2020 11:59:02 +0100 Subject: [PATCH] BUG/MINOR: ssl: typo in previous patch The previous patch 5c3c96f ("BUG/MINOR: ssl: memory leak w/ the ocsp_issuer") contains a typo that prevent it to build. Should be backported in 2.1. --- src/ssl_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 38e95fad2..afcceae66 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -3128,7 +3128,7 @@ static void ssl_sock_free_cert_key_and_chain_contents(struct cert_key_and_chain } if (ckch->ocsp_issuer) - X509_free(ocsp_issuer); + X509_free(ckch->ocsp_issuer); ckch->ocsp_issuer = NULL; }