MINOR: ssl: Add helper function to add cafile entries
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 23 Feb 2021 15:28:43 +0000 (16:28 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 17 May 2021 08:50:24 +0000 (10:50 +0200)
commit38c999b11c57eb1aa5ad958eb4c8d87b4995da76
treebb2f2ad67348c99b50c9cfd2539f43f2332a3933
parent383fb1472e6d1a6d44e79c6f43341444d6fb434e
MINOR: ssl: Add helper function to add cafile entries

Adds a way to insert a new uncommitted cafile_entry in the tree. This
entry will be the one fetched by any lookup in the tree unless the
oldest cafile_entry is explicitely looked for. This way, until a "commit
ssl ca-file" command is completed, there could be two cafile_entries
with the same path in the tree, the original one and the newly updated
one.
include/haproxy/ssl_ckch.h
src/ssl_ckch.c