mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-20 22:01:49 -04:00
BUILD: ssl: silence a warning when building without NPN nor ALPN support
When building with a library not offering any of these, ssl_conf_cur is not used. Can be backported to 1.8.
This commit is contained in:
parent
4a28da1e9d
commit
5d4cafb610
1 changed files with 1 additions and 1 deletions
|
|
@ -4044,7 +4044,7 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, struct ssl_bind_conf *ssl_
|
|||
struct proxy *curproxy = bind_conf->frontend;
|
||||
int cfgerr = 0;
|
||||
int verify = SSL_VERIFY_NONE;
|
||||
struct ssl_bind_conf *ssl_conf_cur;
|
||||
struct ssl_bind_conf __maybe_unused *ssl_conf_cur;
|
||||
const char *conf_ciphers;
|
||||
const char *conf_curves = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue