]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Add helper function that checks the validity of an OCSP response
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 20 Dec 2022 10:11:06 +0000 (11:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 21 Dec 2022 10:21:07 +0000 (11:21 +0100)
commitc0b4058e7e9fa6a83f3ec0e771f5469b362d02b6
treeecd2d2be6958e8d1267e6dab2fde5f5d4eb4b817
parente09d2ae598cddcc598fefd58c737847fa68ade08
MINOR: ssl: Add helper function that checks the validity of an OCSP response

This helper function will check that an OCSP response is valid, meaning
that the proper "Content-Type: application/ocsp-response" header is
present and the data itself is a proper OCSP_RESPONSE that can be
checked thanks to the issuer certificate.
include/haproxy/ssl_sock.h
src/ssl_sock.c