summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-07-18 15:51:16 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-07-18 15:54:05 +0100
commitd083e3f2af9baf1910a69c1cc4a06a26be99d40c (patch)
tree1a533c9006f99f0ef1462a7494ff08de4ed3a7b7 /src
parentb634f8eaf52aae84c311d7e306f38f3dc07ff1b0 (diff)
ALPN: feature macro
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-gnu.c3
-rw-r--r--src/src/tls-openssl.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index f63a8375b..b9f8d2a51 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -154,6 +154,9 @@ builtin_macro_create(US"_HAVE_TLS_OCSP_LIST");
#if defined(EXIM_HAVE_INOTIFY) || defined(EXIM_HAVE_KEVENT)
builtin_macro_create(US"_HAVE_TLS_CA_CACHE");
# endif
+# ifdef EXIM_HAVE_ALPN
+builtin_macro_create(US"_HAVE_TLS_ALPN");
+# endif
}
#else
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index d9ec82dc2..5bf6a6002 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -307,6 +307,9 @@ builtin_macro_create(US"_TLS_BAD_MULTICERT_IN_OURCERT");
builtin_macro_create(US"_HAVE_TLS_OCSP");
builtin_macro_create(US"_HAVE_TLS_OCSP_LIST");
# endif
+# ifdef EXIM_HAVE_ALPN
+builtin_macro_create(US"_HAVE_TLS_ALPN");
+# endif
}
#else