]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: ssl_sock_load_ckchs() alloc a ckch_inst
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 7 Oct 2019 11:52:11 +0000 (13:52 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 11 Oct 2019 15:32:03 +0000 (17:32 +0200)
commit614ca0d3704fa3316aa4861aa41b35bedb48fac1
tree80bfdcd8cf789f5048f3f88c5d450b5fb2382239
parent0c6d12fb66f9be3209116f7b116ae6c4bf3d3a5f
MEDIUM: ssl: ssl_sock_load_ckchs() alloc a ckch_inst

The ssl_sock_load_{multi}_ckchs() function were renamed and modified:

- allocate a ckch_inst and loads the sni in it
- return a ckch_inst or NULL
- the sni_ctx are not added anymore in the sni trees from there
- renamed in ckch_inst_new_load_{multi}_store()
- new ssl_sock_load_ckchs() function calls
ckch_inst_new_load_{multi}_store() and add the sni_ctx to the sni trees.
src/ssl_sock.c