commit | 1633e39d91308c4a1e05b581e69121857c3f8bca | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Mon Sep 30 12:58:13 2019 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Sep 30 13:40:53 2019 +0200 |
tree | f66381fb351dba952a17969e7379faf5ff21df37 | |
parent | 07626eafa264173696899571c9a4e0c4bed297bf [diff] |
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.