aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/def_engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 22:49:01 +0000
committerlloyd <[email protected]>2008-11-08 22:49:01 +0000
commit1a93a9c7e73becbfce821705b387ce3cf660dad0 (patch)
treeadbec625c67e1c30afaeaf0c639b92ac87bf38ad /src/engine/def_engine
parentdbccddadefdcd9d1f7bd8612d6af4449f4910b1c (diff)
Remove lookup.h from CTS mode
Diffstat (limited to 'src/engine/def_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 16cbcd57e..d69d6175c 100644
--- a/src/engine/def_engine/def_mode.cpp
+++ b/src/engine/def_engine/def_mode.cpp
@@ -138,9 +138,9 @@ Keyed_Filter* Default_Engine::get_cipher(const std::string& algo_spec,
{
#if defined(BOTAN_HAS_CTS)
if(direction == ENCRYPTION)
- return new CTS_Encryption(cipher);
+ return new CTS_Encryption(get_block_cipher(cipher));
else
- return new CTS_Decryption(cipher);
+ return new CTS_Decryption(get_block_cipher(cipher));
#else
return 0;
#endif