commit | 3b5f360744a6b88aa8a0c582a90d894b9a8f7544 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Wed Oct 16 18:05:05 2019 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Oct 23 11:54:51 2019 +0200 |
tree | 212d69d12441c38ea83b7bb38708b8b0d037de6c | |
parent | 02010478e9d2f11ab53030fb75f8c54eac4f1f5b [diff] |
MINOR: ssl: OCSP functions can load from file or buffer The ssl_sock_load_ocsp_response_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 a base64 from a buffer or read a binary file on the filesystem. It fills the ocsp_response buffer of the struct cert_key_and_chain.