]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: ssl_sock_load_multi_ckchs() can properly fail
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 4 Oct 2019 16:38:51 +0000 (18:38 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 11 Oct 2019 15:32:03 +0000 (17:32 +0200)
commit0c6d12fb66f9be3209116f7b116ae6c4bf3d3a5f
treed099b740c04e1ee104255dcd7bf117af6c3c339c
parentd919937991ce79d9c7a66fbabcbd34d2d7ca2ef3
MINOR: ssl: ssl_sock_load_multi_ckchs() can properly fail

ssl_sock_load_multi_ckchs() is now able to fail without polluting the
bind_conf trees and leaking memory.

It is a prerequisite to load certificate on-the-fly with the CLI.

The insertion of the sni_ctxs in the trees are done once everything has
been allocated correctly.
src/ssl_sock.c