commit | 8ef0c2a5699c5c7fe559fb357594cb23fcd160bf | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Nov 21 16:30:34 2019 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Nov 21 17:48:11 2019 +0100 |
tree | ae15809d10933a943e3c7083034546b5f4ad2729 | |
parent | 8b453912ce9a4e1a3b1329efb2af04d1e470852e [diff] |
MEDIUM: ssl/cli: apply SSL configuration on SSL_CTX during commit Apply the configuration of the ssl_bind_conf on the generated SSL_CTX. It's a little bit hacky at the moment because the ssl_sock_prepare_ctx() function was made for the configuration parsing, not for being using at runtime. Only the 'verify' bind keyword seems to cause a file access so we prevent it before calling the function.