]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Remove unneeded buffer allocation in show ocsp-response
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 15 Dec 2022 14:44:35 +0000 (15:44 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 15 Dec 2022 15:33:25 +0000 (16:33 +0100)
commit93348438595e21385019c219569d68ac1b2dc10c
tree44d5b4bc5b2b76d1474bdb464bcffd71e137a828
parentc4913f6b54e8b323b9ecbd2a711b2cbf486afae0
MINOR: ssl: Remove unneeded buffer allocation in show ocsp-response

When calling 'show ssl ocsp-response' from the CLI, a temporary buffer
was created in parse_binary when we could just use a local static buffer
instead. This does not change the behavior of the function, it just
simplifies it.
src/ssl_sock.c