BUILD: ssl: guard SSL_CTX_add_server_custom_ext with special macro
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 6 Feb 2021 13:59:22 +0000 (18:59 +0500)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Feb 2021 09:23:24 +0000 (10:23 +0100)
commit49bab753f7dbf41ff1c4ca21d24cd63f07c97630
treeea14958096d453e67becb9d9155069705e0af86f
parente4f38f9bdf37aeb85bd2b84422839e7e12f154e4
BUILD: ssl: guard SSL_CTX_add_server_custom_ext with special macro

special guard macros HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT was defined earlier
exactly for guarding SSL_CTX_add_server_custom_ext, let us use it wherever
appropriate

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