aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index dfe26c8d6..f42a9fe1f 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -807,9 +807,9 @@ class Speed final : public Command
}
#endif
#if defined(BOTAN_HAS_CIPHER_MODES)
- else if(auto enc = Botan::Cipher_Mode::create(algo, Botan::ENCRYPTION))
+ else if(auto enc = Botan::Cipher_Mode::create(algo, Botan::ENCRYPTION, provider))
{
- auto dec = Botan::Cipher_Mode::create_or_throw(algo, Botan::DECRYPTION);
+ auto dec = Botan::Cipher_Mode::create_or_throw(algo, Botan::DECRYPTION, provider);
bench_cipher_mode(*enc, *dec, msec, buf_sizes);
}
#endif