]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Limit ocsp_uri buffer size to minimum
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 9 Jan 2023 11:02:48 +0000 (12:02 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 9 Jan 2023 14:43:41 +0000 (15:43 +0100)
commit648c83ecddba78f0235260fc2eab44e4524563dc
treeda3e63299d9fba2b6bdab19dbd983d819ff72f15
parent2d1daa8095023dde8738ed4d8b62bc5ad436a8bb
MINOR: ssl: Limit ocsp_uri buffer size to minimum

The ocsp_uri field of the certificate_ocsp structure was a 16k buffer
when it could be hand allocated to just the required size to store the
OCSP uri. This field is now behaving the same way as the sctl and
ocsp_response buffers of the ckch_store structure.
src/ssl_ocsp.c
src/ssl_sock.c