aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-04-18 17:37:00 +0200
committerSimon Warta <[email protected]>2017-04-18 17:37:00 +0200
commit26475e2075f30c2348f5dfd1982464b90f5bc09a (patch)
treed2b53c991230bb390a46a4e34ad019a5e6811a09 /src
parentbb13e9125119c4eecff7e4fe03bd620a5f145ce6 (diff)
Add BOTAN_HAS_AEAD_MODES requirement for encryption cli
Diffstat (limited to 'src')
-rw-r--r--src/cli/encryption.cpp2
-rwxr-xr-xsrc/scripts/ci/travis/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/encryption.cpp b/src/cli/encryption.cpp
index 86a88cd80..7bf7ae678 100644
--- a/src/cli/encryption.cpp
+++ b/src/cli/encryption.cpp
@@ -6,7 +6,7 @@
#include "cli.h"
-#if defined(BOTAN_HAS_AES)
+#if defined(BOTAN_HAS_AES) && defined(BOTAN_HAS_AEAD_MODES)
#include <botan/aes.h>
#include <botan/aead.h>
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh
index 4c6730066..36517738b 100755
--- a/src/scripts/ci/travis/build.sh
+++ b/src/scripts/ci/travis/build.sh
@@ -180,7 +180,7 @@ else
time "${TEST_CMD[@]}"
fi
-if [ "$BUILD_MODE" = "static" ] || [ "$BUILD_MODE" = "mini-static" ] || [ "$BUILD_MODE" = "shared" ] || [ "$BUILD_MODE" = "mini-shared" ]
+if [ "$BUILD_MODE" = "static" ] || [ "$BUILD_MODE" = "shared" ]
then
echo "Running cli tests ..."
./src/scripts/cli_tests.py "$CLI_EXE"