]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: ssl_sock_prepare_ctx() return an error code
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 21 Nov 2019 14:48:10 +0000 (15:48 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 21 Nov 2019 16:48:11 +0000 (17:48 +0100)
commit8b453912ce9a4e1a3b1329efb2af04d1e470852e
tree20a9a077e43659d0fa615b773e65de08e471566b
parentf8716914c744e447fc93b8228fa9915b5e600c79
MINOR: ssl: ssl_sock_prepare_ctx() return an error code

Rework ssl_sock_prepare_ctx() so it fills a buffer with the error
messages instead of using ha_alert()/ha_warning(). Also returns an error
code (ERR_*) instead of the number of errors.
include/proto/ssl_sock.h
src/ssl_sock.c