From 69733e87c527155cd1fabc18a75bf45f148d47d0 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Wed, 29 Dec 2021 12:50:50 -0500 Subject: [PATCH] SNI and ALT_CERT_CHAINS --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index a5bdf78c9..523f67cb2 100644 --- a/configure.ac +++ b/configure.ac @@ -5132,6 +5132,18 @@ then AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_CERTIFICATE_STATUS_REQUEST_V2" fi + if test "x$ENABLED_SNI" = "xno" + then + ENABLED_SNI="yes" + AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI" + fi + + if test "x$ENABLED_ALT_CERT_CHAINS" = "xno" + then + ENABLED_ALT_CERT_CHAINS="yes" + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS" + fi + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DES_ECB" fi