1 commit 5d5c377717cfd5230150985c55322f1c5bb61a4e
2 Author: William Lallemand <wlallemand@haproxy.org>
3 Date: Thu Jan 23 11:59:02 2020 +0100
5 BUG/MINOR: ssl: typo in previous patch
7 The previous patch 5c3c96f ("BUG/MINOR: ssl: memory leak w/ the
8 ocsp_issuer") contains a typo that prevent it to build.
10 Should be backported in 2.1.
12 (cherry picked from commit dad239d08be1f2abe7e54d9332f1eb87acebf987)
13 Signed-off-by: Willy Tarreau <w@1wt.eu>
15 diff --git a/src/ssl_sock.c b/src/ssl_sock.c
16 index af285938e..713c8aedd 100644
19 @@ -2967,7 +2967,7 @@ static void ssl_sock_free_cert_key_and_chain_contents(struct cert_key_and_chain
22 if (ckch->ocsp_issuer)
23 - X509_free(ocsp_issuer);
24 + X509_free(ckch->ocsp_issuer);
25 ckch->ocsp_issuer = NULL;