]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: split ssl_sock_load_crt_file_into_ckch()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 17 Oct 2019 09:56:17 +0000 (11:56 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 23 Oct 2019 09:54:51 +0000 (11:54 +0200)
commit96a9c973697d35f9dbcbf58d6c90b4df9225b88a
treede9339647c2c65002021c4cbd7825c499ab3659d
parentf9568fcd79309911d33860c67a622768b877c93b
MINOR: ssl: split ssl_sock_load_crt_file_into_ckch()

Split the ssl_sock_load_crt_file_into_ckch() in two functions:

- ssl_sock_load_files_into_ckch() which is dedicated to opening every
files related to a filename during the configuration parsing (PEM, sctl,
ocsp, issuer etc)

- ssl_sock_load_pem_into_ckch() which is dedicated to opening a PEM,
either in a file or a buffer
src/ssl_sock.c