aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2019-11-10 17:45:02 +0100
committerNuno Goncalves <[email protected]>2019-11-10 17:45:02 +0100
commit548b73ab115fb473d2a62a8e589c197eac0b6b08 (patch)
tree187cd849f53f2d372f53624d2ce81ba70a6e0668 /src
parente9c552d99d1fcf43b624ab436da1bfc6e00e8543 (diff)
CLI encryption can exist without AES if with AEAD_CHACHA20_POLY1305
Signed-off-by: Nuno Goncalves <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/cli/encryption.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/encryption.cpp b/src/cli/encryption.cpp
index 444877db5..4d85890b0 100644
--- a/src/cli/encryption.cpp
+++ b/src/cli/encryption.cpp
@@ -6,7 +6,7 @@
#include "cli.h"
-#if defined(BOTAN_HAS_AES) && defined(BOTAN_HAS_AEAD_MODES)
+#if (defined(BOTAN_HAS_AES) || defined(BOTAN_HAS_AEAD_CHACHA20_POLY1305)) && defined(BOTAN_HAS_AEAD_MODES)
#include <botan/aead.h>
#include <botan/hex.h>