aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/def_engine/def_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/def_engine/def_mode.cpp')
-rw-r--r--src/engine/def_engine/def_mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/def_engine/def_mode.cpp b/src/engine/def_engine/def_mode.cpp
index d69d6175c..831ece4f1 100644
--- a/src/engine/def_engine/def_mode.cpp
+++ b/src/engine/def_engine/def_mode.cpp
@@ -161,9 +161,9 @@ Keyed_Filter* Default_Engine::get_cipher(const std::string& algo_spec,
{
#if defined(BOTAN_HAS_EAX)
if(direction == ENCRYPTION)
- return new EAX_Encryption(cipher, bits);
+ return new EAX_Encryption(get_block_cipher(cipher), bits);
else
- return new EAX_Decryption(cipher, bits);
+ return new EAX_Decryption(get_block_cipher(cipher), bits);
#else
return 0;
#endif