diff --git a/configure.ac b/configure.ac index e87979e06..06be8cc73 100644 --- a/configure.ac +++ b/configure.ac @@ -3676,7 +3676,7 @@ then then AC_MSG_ERROR([cannot enable eccencrypt and hkdf without aes.]) fi - if test "$ENABLED_AESGCM" = "yes" + if test "$ENABLED_AESGCM" != "no" then AC_MSG_ERROR([AESGCM requires AES.]) fi