diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 10:04:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 17:31:29 +0100 |
commit | 7c9830991c58a6b23014a0bdc8748fb4ab7588da (patch) | |
tree | c3d3e05819a9daadff45206d1bd8f3322720ae03 | |
parent | 1bb43e0766b08184b59a930b272355cc51055775 (diff) | |
download | rspamd-7c9830991c58a6b23014a0bdc8748fb4ab7588da.tar.gz rspamd-7c9830991c58a6b23014a0bdc8748fb4ab7588da.zip |
[Feature] Search for SSL_set_tlsext_host_name support
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.h.in | 1 |
2 files changed, 3 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) diff --git a/config.h.in b/config.h.in index f7bdedbfb..30b07797a 100644 --- a/config.h.in +++ b/config.h.in @@ -78,6 +78,7 @@ #cmakedefine HAVE_SETSIG 1 #cmakedefine HAVE_SIGINFO_H 1 #cmakedefine HAVE_SOCK_SEQPACKET 1 +#cmakedefine HAVE_SSL_TLSEXT_HOSTNAME 1 #cmakedefine HAVE_STDBOOL_H 1 #cmakedefine HAVE_STDINT_H 1 #cmakedefine HAVE_STDIO_H 1 |