aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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>