MINOR: ssl/ocsp: use 'ocsp-update' in crt-store
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 30 Apr 2024 19:55:45 +0000 (21:55 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 17 May 2024 15:35:51 +0000 (17:35 +0200)
commit2b6b7fea58999ddfcab3f59046887a30125a3b3e
tree55df8d9f171617b298fb8f93fb45f6a24f7b7369
parent462e5b0098d2d9b48332f6613af78d13e8c1714a
MINOR: ssl/ocsp: use 'ocsp-update' in crt-store

Use the ocsp-update keyword in the crt-store section. This is not used
as an exception in the crtlist code anymore.

This patch introduces the "ocsp_update_mode" variable in the ckch_conf
structure.

The SSL_SOCK_OCSP_UPDATE_* enum was changed to a define to match the
ckch_conf on/off parser so we can have off to -1.
include/haproxy/ssl_ckch-t.h
include/haproxy/ssl_ocsp.h
include/haproxy/ssl_sock-t.h
src/ssl_ckch.c
src/ssl_ocsp.c
src/ssl_sock.c