]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix a warning when built with openssl < 1.0.2
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 30 Sep 2019 10:58:13 +0000 (12:58 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 30 Sep 2019 11:40:53 +0000 (13:40 +0200)
commit1633e39d91308c4a1e05b581e69121857c3f8bca
treef66381fb351dba952a17969e7379faf5ff21df37
parent07626eafa264173696899571c9a4e0c4bed297bf
BUILD: ssl: fix a warning when built with openssl < 1.0.2

src/ssl_sock.c:2928:12: warning: ‘ssl_sock_is_ckch_valid’ defined but not used [-Wunused-function]
 static int ssl_sock_is_ckch_valid(struct cert_key_and_chain *ckch)

This function is only used with openssl >= 1.0.2, this patch adds a
condition to build the function.
src/ssl_sock.c