MINOR: ssl/ocsp: add a function to check the OCSP update configuration
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 7 Feb 2023 17:38:05 +0000 (18:38 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 8 Feb 2023 10:40:31 +0000 (11:40 +0100)
commita14686d096bcdace77a7f6898d9bba220c901493
tree6049dff56ade5412cb5744491de9b738650c598a
parentb4b9caa65f865724aefc04c8252e0a3643f13abd
MINOR: ssl/ocsp: add a function to check the OCSP update configuration

Deduplicate the code which checks the OCSP update in the ckch_store and
in the crtlist_entry.

Also, jump immediatly to error handling when the ERR_FATAL is catched.
include/haproxy/ssl_ocsp.h
src/ssl_crtlist.c
src/ssl_ocsp.c