aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 22:55:53 +0000
committerlloyd <[email protected]>2008-11-08 22:55:53 +0000
commit5e79ee8939aa3cfcaed9159168153ee020ebd8de (patch)
treeac224fc7d8af6880a5ce12d29ef6077f4870e077 /src/engine
parent1a93a9c7e73becbfce821705b387ce3cf660dad0 (diff)
Remove lookup.h use from EAX
Diffstat (limited to 'src/engine')
-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