From 9deb85ceb1d3f987311eaf3e207d51b3c99d967c Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 17 Sep 2020 14:28:31 -0700 Subject: [PATCH] Fixes to reduce code size. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b3f9eadd1..8a72025c1 100644 --- a/configure.ac +++ b/configure.ac @@ -648,6 +648,8 @@ fi if test "$ENABLED_WPAS" = "small" then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_WPAS_SMALL" + AM_CFLAGS="$AM_CFLAGS -DKEEP_OUR_CERT" + AM_CFLAGS="$AM_CFLAGS -DKEEP_PEER_CERT" fi if test "$ENABLED_WPAS" = "yes" then @@ -3203,7 +3205,7 @@ AC_ARG_ENABLE([session-ticket], [ ENABLED_SESSION_TICKET=no ] ) -if test "x$ENABLED_NGINX" = "xyes" || test "$ENABLED_WPAS" != "no" || test "x$ENABLED_HAPROXY" = "xyes" +if test "x$ENABLED_NGINX" = "xyes" || test "$ENABLED_WPAS" = "yes" || test "x$ENABLED_HAPROXY" = "xyes" then ENABLED_SESSION_TICKET=yes fi