From 54bf7fd5d90cf626c699ddf250da534ffdb8f82f Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Fri, 17 May 2024 11:03:18 -0600 Subject: [PATCH] Force SHA3 on with FIPS V5 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 09bfa9094a..210ef3203c 100644 --- a/configure.ac +++ b/configure.ac @@ -5144,6 +5144,9 @@ AS_CASE([$FIPS_VERSION], AS_IF([test "$ENABLED_SHA224" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_sha224" != "no")], [ENABLED_SHA224="yes"; AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA224"]) + AS_IF([test "$ENABLED_SHA3" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_sha3" != "no")], + [ENABLED_SHA3="yes"; AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA3"]) + AS_IF([test "$ENABLED_WOLFSSH" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_ssh" != "no")], [enable_ssh="yes"])