aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/def_engine/def_mode.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 22:02:01 +0000
committerlloyd <[email protected]>2008-11-08 22:02:01 +0000
commit6d6279835ed48e33c3cfd3174fe7c7413a0bb435 (patch)
tree595b9121d0d30b3feb3f2aa90b30e1278dd93368 /src/engine/def_engine/def_mode.cpp
parentda5a5cbea7f611ebf41a8d3065700106a8d89f2d (diff)
Remove use of lookup.h in CTR mode
Diffstat (limited to 'src/engine/def_engine/def_mode.cpp')
-rw-r--r--src/engine/def_engine/def_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/def_engine/def_mode.cpp b/src/engine/def_engine/def_mode.cpp
index c514c5034..88d6639eb 100644
--- a/src/engine/def_engine/def_mode.cpp
+++ b/src/engine/def_engine/def_mode.cpp
@@ -99,7 +99,7 @@ Keyed_Filter* Default_Engine::get_cipher(const std::string& algo_spec,
else if(mode == "CTR-BE")
{
#if defined(BOTAN_HAS_CTR)
- return new CTR_BE(cipher);
+ return new CTR_BE(get_block_cipher(cipher));
#else
return 0;
#endif