]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: load sctl from buf OR from a file
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 16 Oct 2019 16:06:58 +0000 (18:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 23 Oct 2019 09:54:51 +0000 (11:54 +0200)
commit0dfae6c315f7e14b1d056f7e11ce5b363f7c1ee7
treea19ac355ad6ae18ce57b9d1b77b75239432f3e9a
parent3b5f360744a6b88aa8a0c582a90d894b9a8f7544
MINOR: ssl: load sctl from buf OR from a file

The ssl_sock_load_sctl_from_file() function was modified to
fill directly a struct cert_key_and_chain.

The function prototype was normalized in order to be used with the CLI
payload parser.

This function either read  text from a buffer or read a file on the
filesystem.

It fills the ocsp_response buffer of the struct cert_key_and_chain.
src/ssl_sock.c