]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: ssl_sock_prepare_ssl_ctx does not return an error code
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 21 Apr 2021 13:32:46 +0000 (15:32 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 26 Apr 2021 13:57:26 +0000 (15:57 +0200)
commit43899ec83dea8e10c21e6a907eb76391c463cc2f
tree47a2698e6e3de84abe39cef715c4e723fb9b7eb3
parentbf1bd5a2a8fc8e8fa7f4f85b8ff5870abaa6b1cf
BUG/MINOR: ssl: ssl_sock_prepare_ssl_ctx does not return an error code

The return value check was wrongly based on error codes when the
function actually returns an error number.
This bug was introduced by f3eedfe19592ebcbaa5b97d8c68aa162e7f6f8fa
which is a feature not present before branch 2.4.

It does not need to be backported.
src/ssl_ckch.c