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.
This commit is contained in:
William Lallemand 2020-01-23 11:59:02 +01:00
parent 5c3c96fd36
commit dad239d08b

View File

@ -3128,7 +3128,7 @@ static void ssl_sock_free_cert_key_and_chain_contents(struct cert_key_and_chain
} }
if (ckch->ocsp_issuer) if (ckch->ocsp_issuer)
X509_free(ocsp_issuer); X509_free(ckch->ocsp_issuer);
ckch->ocsp_issuer = NULL; ckch->ocsp_issuer = NULL;
} }