Restore a configure check lost in a rebase.

pull/4359/head
John Safranek 2021-02-24 18:47:53 -08:00 committed by Daniel Pouzzner
parent 6dfef1400d
commit 90752e89fb
1 changed files with 5 additions and 0 deletions

View File

@ -3492,6 +3492,11 @@ AS_CASE([$SELFTEST_VERSION],
])
# Set SHA-3 and SHAKE256 flags
if test "$ENABLED_SHA3" = "yes" && test "$ENABLED_32BIT" = "no"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA3"
fi
AS_IF([test "x$ENABLED_FIPS" = "xyes"],[ENABLED_SHAKE256="no"])
if test "$ENABLED_SHAKE256" = "yes" || test "$ENABLED_SHAKE256" = "small"