]> git.kaiwu.me - haproxy.git/commit
MEDIUM: ssl/crtlist: loading crt-store keywords from a crt-list
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 10 Apr 2024 15:21:50 +0000 (17:21 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 17 May 2024 15:35:51 +0000 (17:35 +0200)
commitd6169320766de6006e777144e63239c583d59106
tree2e1f9445986d9796f4a67cf79694f4f95adf0470
parent8526d666d2b7d65c8b2a5fe8bc14271f8c64a99d
MEDIUM: ssl/crtlist: loading crt-store keywords from a crt-list

This patch allows the usage of "crt-store" keywords from a "crt-list".

The crtstore_parse_load() function was splitted into 2 functions, so the
keywords parsing is done in ckch_conf_parse().

With this patch, crt are loaded with ckch_store_new_load_files_conf() or
ckch_store_new_load_files_path() depending on weither or not there is a
"crt-store" keyword.

More checks need to be done on "crt" bind keywords to ensure that
keywords are compatible.

This patch does not introduce the feature on the CLI.
include/haproxy/ssl_ckch-t.h
include/haproxy/ssl_ckch.h
include/haproxy/ssl_crtlist.h
src/ssl_ckch.c
src/ssl_crtlist.c