]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: improve error processing and reporting in ssl_sock_load_cert_list_file()
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 15:35:58 +0000 (17:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 15:39:04 +0000 (17:39 +0200)
commitad1731d553a93983782c50999d900a731dee669f
treea9e39e1cfc2ba21f94a115db1fb8b02957d32411
parentfe61656bb2077d9487eb512e034c16ab2d39c1a1
BUG/MEDIUM: ssl: improve error processing and reporting in ssl_sock_load_cert_list_file()

fe61656b added the ability to load a list of certificates from a file,
but error control was incomplete and misleading, as some errors such
as missing files were not reported, and errors reported with Alert()
instead of memprintf() were inappropriate and mixed with upper errors.
Also, the code really supports a single SNI filter right now, so let's
correct it and the doc for that, leaving room for later change if needed.
doc/configuration.txt
src/ssl_sock.c