Merge pull request #99 from kaleb-himes/eccencrypt_without_aes

Ecc_encrypt + hkdf requires aes
This commit is contained in:
toddouska
2015-07-16 14:51:44 -07:00

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.])