summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorAndrey Suvorov <a.suvorov@f5.com>2021-08-17 16:52:32 -0700
committerAndrey Suvorov <a.suvorov@f5.com>2021-08-17 16:52:32 -0700
commite0aa132172f03fe7c31484ce7d301813b5dacb89 (patch)
tree86c83ac1ffc2c842d99aca6ba47c7d7ad67ca82d /auto
parent3bd60e317c142f4596bdc0ef4747ea0f2cc03503 (diff)
downloadunit-e0aa132172f03fe7c31484ce7d301813b5dacb89.tar.gz
unit-e0aa132172f03fe7c31484ce7d301813b5dacb89.tar.bz2
Added TLS session tickets support.
Diffstat (limited to 'auto')
-rw-r--r--auto/ssltls17
1 files changed, 17 insertions, 0 deletions
diff --git a/auto/ssltls b/auto/ssltls
index f9363dde..d678ba74 100644
--- a/auto/ssltls
+++ b/auto/ssltls
@@ -66,6 +66,23 @@ if [ $NXT_OPENSSL = YES ]; then
return 0;
}"
. auto/feature
+
+
+ nxt_feature="OpenSSL tlsext support"
+ nxt_feature_name=NXT_HAVE_OPENSSL_TLSEXT
+ nxt_feature_run=
+ nxt_feature_incs=
+ nxt_feature_libs="$NXT_OPENSSL_LIBS"
+ nxt_feature_test="#include <openssl/ssl.h>
+
+ int main() {
+ #if (OPENSSL_NO_TLSEXT)
+ #error OpenSSL: no tlsext support.
+ #else
+ return 0;
+ #endif
+ }"
+ . auto/feature
fi