aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 10:04:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:31:29 +0100
commit7c9830991c58a6b23014a0bdc8748fb4ab7588da (patch)
treec3d3e05819a9daadff45206d1bd8f3322720ae03 /CMakeLists.txt
parent1bb43e0766b08184b59a930b272355cc51055775 (diff)
downloadrspamd-7c9830991c58a6b23014a0bdc8748fb4ab7588da.tar.gz
rspamd-7c9830991c58a6b23014a0bdc8748fb4ab7588da.zip
[Feature] Search for SSL_set_tlsext_host_name support
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b5331bb3..62711ca4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -926,6 +926,8 @@ CHECK_SYMBOL_EXISTS(SOCK_SEQPACKET "sys/types.h;sys/socket.h" HAVE_SOCK_SEQPACKE
CHECK_SYMBOL_EXISTS(I_SETSIG "sys/types.h;sys/ioctl.h" HAVE_SETSIG)
CHECK_SYMBOL_EXISTS(O_ASYNC "sys/types.h;sys/fcntl.h" HAVE_OASYNC)
CHECK_SYMBOL_EXISTS(O_NOFOLLOW "sys/types.h;sys/fcntl.h" HAVE_ONOFOLLOW)
+LIST(APPEND CMAKE_REQUIRED_INCLUDES "${LIBSSL_INCLUDE}")
+CHECK_SYMBOL_EXISTS(SSL_set_tlsext_host_name "openssl/ssl.h" HAVE_SSL_TLSEXT_HOSTNAME)
IF(ENABLE_PCRE2 MATCHES "ON")
IF(HAVE_PCRE_JIT)