mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
aes gcm/ccm require aes, duh
This commit is contained in:
@ -936,6 +936,14 @@ AC_ARG_ENABLE([aes],
|
|||||||
if test "$ENABLED_AES" = "no"
|
if test "$ENABLED_AES" = "no"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DNO_AES"
|
AM_CFLAGS="$AM_CFLAGS -DNO_AES"
|
||||||
|
if test "$ENABLED_AESGCM" = "yes"
|
||||||
|
then
|
||||||
|
AC_MSG_ERROR([AESGCM requires AES.])
|
||||||
|
fi
|
||||||
|
if test "$ENABLED_AESCCM" = "yes"
|
||||||
|
then
|
||||||
|
AC_MSG_ERROR([AESCCM requires AES.])
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# turn off AES if leanpsk on
|
# turn off AES if leanpsk on
|
||||||
if test "$ENABLED_LEANPSK" = "yes"
|
if test "$ENABLED_LEANPSK" = "yes"
|
||||||
|
Reference in New Issue
Block a user