From 548b73ab115fb473d2a62a8e589c197eac0b6b08 Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Sun, 10 Nov 2019 17:45:02 +0100 Subject: CLI encryption can exist without AES if with AEAD_CHACHA20_POLY1305 Signed-off-by: Nuno Goncalves --- src/cli/encryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -- cgit v1.2.3