aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-11-10 12:17:19 -0500
committerJack Lloyd <[email protected]>2019-11-10 12:17:19 -0500
commit9c8568b87e434a36524c2ab602f21300e6a96007 (patch)
treeed749b42e8575d820b94d5d1874d18560549a389 /src
parent371c4cb3708fcf0731ee3e2bfc44eefdde1f0696 (diff)
parent3ecb2513c47ac29b9a469a98bb5c2e73dafbc44a (diff)
Merge GH #2191 Avoid unused variable warning when block ciphers are disabled
Diffstat (limited to 'src')
-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")
{