forked from wolfSSL/wolfssl
configure.ac: tweaks for clarity
This commit is contained in:
@ -5951,7 +5951,7 @@ then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHAKE128"
|
||||
if test "$ENABLED_SHA3" = "no"
|
||||
then
|
||||
AC_MSG_ERROR([Must have SHA-3 enabled: --enable-sha3])
|
||||
AC_MSG_ERROR([shake128 requires SHA-3: --enable-sha3])
|
||||
fi
|
||||
else
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_NO_SHAKE128"
|
||||
@ -5967,7 +5967,7 @@ then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHAKE256"
|
||||
if test "$ENABLED_SHA3" = "no"
|
||||
then
|
||||
AC_MSG_ERROR([Must have SHA-3 enabled: --enable-sha3])
|
||||
AC_MSG_ERROR([shake256 requires SHA-3: --enable-sha3])
|
||||
fi
|
||||
else
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_NO_SHAKE256"
|
||||
|
Reference in New Issue
Block a user