aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2019-11-10 17:59:33 +0100
committerNuno Goncalves <[email protected]>2019-11-10 17:59:33 +0100
commit3ecb2513c47ac29b9a469a98bb5c2e73dafbc44a (patch)
tree6c309b36bec9a273212a0ae08db35741f50dce17
parente9c552d99d1fcf43b624ab436da1bfc6e00e8543 (diff)
variable is unused if BOTAN_HAS_BLOCK_CIPHER not defined
Signed-off-by: Nuno Goncalves <[email protected]>
-rw-r--r--src/lib/modes/aead/aead.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/modes/aead/aead.cpp b/src/lib/modes/aead/aead.cpp
index cd1db761d..077e09e5c 100644
--- a/src/lib/modes/aead/aead.cpp
+++ b/src/lib/modes/aead/aead.cpp
@@ -53,6 +53,7 @@ std::unique_ptr<AEAD_Mode> AEAD_Mode::create(const std::string& algo,
Cipher_Dir dir,
const std::string& provider)
{
+ BOTAN_UNUSED(provider);
#if defined(BOTAN_HAS_AEAD_CHACHA20_POLY1305)
if(algo == "ChaCha20Poly1305")
{