diff --git a/configure.ac b/configure.ac index ff9b61de20..355fb9d4d3 100644 --- a/configure.ac +++ b/configure.ac @@ -4498,6 +4498,7 @@ AC_ARG_ENABLE([tlsv12], if test "$ENABLED_CRYPTONLY" = "yes" then ENABLED_TLSV12=no + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_RW_THREADED" fi if test "$ENABLED_TLSV12" = "no" then @@ -6450,7 +6451,7 @@ then fi if test "$ENABLED_TLS13" = "yes" then - AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_TLS13 -DHAVE_TLS_EXTENSIONS" + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_TLS13 -DHAVE_TLS_EXTENSIONS -DWOLFSSL_RW_THREADED" fi