From: William Lallemand Date: Thu, 23 Jan 2020 10:59:02 +0000 (+0100) Subject: BUG/MINOR: ssl: typo in previous patch X-Git-Tag: v2.2-dev2~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dad239d08be1f2abe7e54d9332f1eb87acebf987;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 38e95fad28..afcceae66e 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; }