mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
BUILD: ssl: guard SSL_CTX_set_msg_callback with SSL_CTRL_SET_MSG_CALLBACK macro
both SSL_CTX_set_msg_callback and SSL_CTRL_SET_MSG_CALLBACK defined since ea262260469e49149cb10b25a87dfd6ad3fbb4ba, we can safely switch to that guard instead of OpenSSL version
This commit is contained in:
parent
060ffc82d6
commit
7ff7747a17
@ -4411,7 +4411,7 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, struct ssl_bind_conf *ssl_
|
|||||||
#endif /* OPENSSL_NO_DH */
|
#endif /* OPENSSL_NO_DH */
|
||||||
|
|
||||||
SSL_CTX_set_info_callback(ctx, ssl_sock_infocbk);
|
SSL_CTX_set_info_callback(ctx, ssl_sock_infocbk);
|
||||||
#if HA_OPENSSL_VERSION_NUMBER >= 0x00907000L
|
#ifdef SSL_CTRL_SET_MSG_CALLBACK
|
||||||
SSL_CTX_set_msg_callback(ctx, ssl_sock_msgcbk);
|
SSL_CTX_set_msg_callback(ctx, ssl_sock_msgcbk);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_OPENSSL_KEYLOG
|
#ifdef HAVE_OPENSSL_KEYLOG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user