From e698c12530454e9b52a2e2877c290e0c955e217f Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Thu, 16 Jul 2015 15:31:36 -0600 Subject: [PATCH] ecc_encrypt + hkdf requires aes --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 7bb1b769f..63b2fca90 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])