diff --git a/CMakeLists.txt b/CMakeLists.txt index afcd5169e..997dec9bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -435,6 +435,7 @@ if(WOLFSSL_CURL) set(WOLFSSL_MD4 "yes") set(WOLFSSL_DES3 "yes") set(WOLFSSL_ALPN "yes") + set(WOLFSSL_EX_DATA "yes") set(WOLFSSL_WOLFSSH "yes") set(WOLFSSL_OPENSSLEXTRA "yes") set(WOLFSSL_CRL "yes") diff --git a/configure.ac b/configure.ac index 0c115b593..a5c7413f7 100644 --- a/configure.ac +++ b/configure.ac @@ -8090,6 +8090,13 @@ then if test "x$ENABLED_ALPN" = "xno" then ENABLED_ALPN="yes" + AM_CFLAGS="$AM_CFLAGS -DHAVE_ALPN" + fi + + if test "x$ENABLED_EX_DATA" = "xno" + then + ENABLED_EX_DATA="yes" + AM_CFLAGS="$AM_CFLAGS -DHAVE_EX_DATA" fi if test "x$ENABLED_WOLFSSH" = "xno"