commit | 21724f0807ba089aacb2be3b7725032bbd191554 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Mon Nov 04 17:56:13 2019 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Nov 04 18:16:53 2019 +0100 |
tree | 3db8ef2f72b2af4fc424ebcc454fc74beb3550ec | |
parent | 3246d9466a4accad62ee22e348dda709d65077af [diff] |
MINOR: ssl/cli: replace the default_ctx during 'commit ssl cert' If the SSL_CTX of a previous instance (ckch_inst) was used as a default_ctx, replace the default_ctx of the bind_conf by the first SSL_CTX inserted in the SNI tree. Use the RWLOCK of the sni tree to handle the change of the default_ctx.