]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: split the cert commit io handler
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 29 Mar 2022 12:29:31 +0000 (14:29 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 30 Mar 2022 10:18:16 +0000 (12:18 +0200)
commit3b5a3a6c03da67a86a508f8a7866b64851ccec9b
tree46f46c89b7de203f99034b6c621e6a75886a97ee
parent7177a95f8943e0b37530e54063620e8ba46bad85
MINOR: ssl: split the cert commit io handler

Extract the code that replace the ckch_store and its dependencies into
the ckch_store_replace() function.

This function must be used under the global ckch lock.
It frees everything related to the old ckch_store.
include/haproxy/ssl_ckch.h
src/ssl_ckch.c