BUILD: ssl: guard SSL_CTX_set_msg_callback with SSL_CTRL_SET_MSG_CALLBACK macro
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 8 Feb 2021 11:55:06 +0000 (16:55 +0500)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Feb 2021 09:23:24 +0000 (10:23 +0100)
commitbcc2560333982f990b01b6ce537f7d88aa3c5c3f
tree21734d7728620fa0ce918b0c57259f587d6b719d
parent49bab753f7dbf41ff1c4ca21d24cd63f07c97630
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

(cherry picked from commit 7ff7747a1750cc416c3731cf53858011e02dd546)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/ssl_sock.c