mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-26 15:40:32 +00:00
BUILD: ssl: SSL_CTX_set_msg_callback() needs openssl >= 0.9.7
1.5-dev24 introduced SSL_CTX_set_msg_callback(), which came with OpenSSL 0.9.7. A build attempt with an older one failed and we're still compatible with 0.9.6 in 1.5.
This commit is contained in:
parent
cefad67689
commit
5cbe4ef265
@ -829,7 +829,9 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, SSL_CTX *ctx, struct proxy
|
||||
}
|
||||
|
||||
SSL_CTX_set_info_callback(ctx, ssl_sock_infocbk);
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00907000L
|
||||
SSL_CTX_set_msg_callback(ctx, ssl_sock_msgcbk);
|
||||
#endif
|
||||
|
||||
#ifdef OPENSSL_NPN_NEGOTIATED
|
||||
if (bind_conf->npn_str)
|
||||
|
Loading…
Reference in New Issue
Block a user