fortress relies on aes disallowed pair

This commit is contained in:
kaleb-himes 2015-07-17 09:30:25 -06:00
parent 101aac5720
commit 11f1159e30
1 changed files with 4 additions and 0 deletions

View File

@ -1000,6 +1000,10 @@ AC_ARG_ENABLE([aes],
if test "$ENABLED_AES" = "no"
then
AM_CFLAGS="$AM_CFLAGS -DNO_AES"
if test "$ENABLED_FORTRESS" = "yes"
then
AC_MSG_ERROR([fortress requires aes])
fi
if test "$ENABLED_ECC_ENCRYPT" = "yes"
then
AC_MSG_ERROR([cannot enable eccencrypt and hkdf without aes.])