MINOR: ssl: Only set ocsp->issuer if issuer not in cert chain
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 9 Jan 2023 11:02:44 +0000 (12:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 9 Jan 2023 14:43:41 +0000 (15:43 +0100)
commit112b16a4d01b61781b51639715676b18676c3a6f
tree189a6b5ba9581e479028b1f156bb698196d59eb2
parent8bdd0050e2f3419a61721d281b7216c628d10722
MINOR: ssl: Only set ocsp->issuer if issuer not in cert chain

If the ocsp issuer certificate was actually taken from the certificate
chain in ssl_sock_load_ocsp, we don't need to keep an extra reference on
it since we already keep a reference to the full certificate chain.
src/ssl_sock.c