From cafcaa41819e97c38d3c5fd0a6e78f5808836557 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Wed, 3 Jun 2020 14:24:10 -0600 Subject: [PATCH] enable SNI by default for JNI/JSSE build --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 2b4effa89..dd3eb4f15 100644 --- a/configure.ac +++ b/configure.ac @@ -3515,6 +3515,11 @@ then ENABLED_CERTGEN="yes" AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_CERT_GEN" fi + if test "x$ENABLED_SNI" = "xno" + then + ENABLED_SNI="yes" + AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI" + fi fi # lighty Support