ecc_encrypt + hkdf requires aes

This commit is contained in:
kaleb-himes
2015-07-16 15:31:36 -06:00
parent 5a00e4b72b
commit e698c12530

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_ECC_ENCRYPT" = "yes"
then
AC_MSG_ERROR([cannot enable eccencrypt and hkdf without aes.])
fi
if test "$ENABLED_AESGCM" = "yes"
then
AC_MSG_ERROR([AESGCM requires AES.])