]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: put ssl_sock_load_ca under SSL_NO_GENERATE_CERTIFICATES
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 23 Jan 2025 12:46:46 +0000 (13:46 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 24 Jan 2025 11:31:07 +0000 (12:31 +0100)
commitc987f30245023f3bdf4dbe5296ed39f2d8faa98b
tree7b9f8d64dfdf9052d90d3e07c5cd46b987aea654
parent670182bc9eb484153958a0defdc4ebccd83cacf1
BUG/MINOR: ssl: put ssl_sock_load_ca under SSL_NO_GENERATE_CERTIFICATES

ssl_sock_load_ca and ssl_sock_free_ca definitions are compiled only, if
SSL_NO_GENERATE_CERTIFICATES is not set. In case, when we set this define and
build haproxy, linker throws an error. So, let's fix this.

This should be backported in all stable versions.
src/ssl_sock.c