mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02: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
@ -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…
x
Reference in New Issue
Block a user