BUG/MINOR: ssl: Fix leak in "show ssl ocsp-response" CLI command
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 16 Feb 2022 14:03:51 +0000 (15:03 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Feb 2022 15:48:41 +0000 (16:48 +0100)
commit132fe2f259465d59df013afdda4eb5247976e3f4
tree5ffdeee9f714efc21d12b5b64f683bd9b137c6fe
parentf278551232d3f3000ee1c6e2116eae4b40f3e5f4
BUG/MINOR: ssl: Fix leak in "show ssl ocsp-response" CLI command

When calling the "show ssl ocsp-response" CLI command some OpenSSL
objects need to be created in order to get some information related to
the OCSP response and some of them were not freed.

It should be backported to 2.5.

(cherry picked from commit 8081b6769902899346f4c717007841190118d349)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
src/ssl_sock.c