CLEANUP: ssl: make load_srv_{ckchs,cert} match their bind counterpart
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 26 Jan 2021 11:01:46 +0000 (12:01 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 26 Jan 2021 14:19:36 +0000 (15:19 +0100)
commitdb26e2b00e6c4efa9870f984a094f4f78c5a09b8
treeb741f8ec9718e3a4912b891c36f4dc4c2961ad8d
parent795bd9ba3a95e3a1f491b5304b1641855215f1e9
CLEANUP: ssl: make load_srv_{ckchs,cert} match their bind counterpart

This patch makes things more consistent between the bind_conf functions
and the server ones:

- ssl_sock_load_srv_ckchs() loads the SSL_CTX in the server
  (ssl_sock_load_ckchs() load the SNIs in the bind_conf)

- add the server parameter to ssl_sock_load_srv_ckchs()

- changes made to the ckch_inst are done in
  ckch_inst_new_load_srv_store()
src/ssl_sock.c