enable SNI by default for JNI/JSSE build

This commit is contained in:
Chris Conlon
2020-06-03 14:24:10 -06:00
parent d220168384
commit cafcaa4181

View File

@ -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