From 4e73ad854750ef545fbb03852cb7cab7d94fb664 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 18 Jun 2012 14:31:46 -0700 Subject: [PATCH] AES-GCM requires SHA-384, configure adds it automatically --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 82856d0fd..670628241 100644 --- a/configure.ac +++ b/configure.ac @@ -298,7 +298,7 @@ AC_ARG_ENABLE(aesgcm, if test "$ENABLED_AESGCM" = "yes" then - AM_CFLAGS="$AM_CFLAGS -DHAVE_AESGCM" + AM_CFLAGS="$AM_CFLAGS -DHAVE_AESGCM -DCYASSL_SHA384 -DCYASSL_SHA512" fi AM_CONDITIONAL([BUILD_AESGCM], [test "x$ENABLED_AESGCM" = "xyes"]) @@ -355,6 +355,11 @@ then ENABLED_SHA512="yes" fi +if test "$ENABLED_AESGCM" = "yes" +then + ENABLED_SHA512="yes" +fi + AM_CONDITIONAL([BUILD_SHA512], [test "x$ENABLED_SHA512" = "xyes"])