aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/def_engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 22:15:59 +0000
committerlloyd <[email protected]>2008-11-08 22:15:59 +0000
commit9186c2a1e312cfd8d73a921985960078476d6e04 (patch)
tree87dd9ba802852a871e3b158923d9090effc56bf6 /src/engine/def_engine
parent6d6279835ed48e33c3cfd3174fe7c7413a0bb435 (diff)
Remove use of lookup.h from OFB
Diffstat (limited to 'src/engine/def_engine')
-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 88d6639eb..2d4701796 100644
--- a/src/engine/def_engine/def_mode.cpp
+++ b/src/engine/def_engine/def_mode.cpp
@@ -91,7 +91,7 @@ Keyed_Filter* Default_Engine::get_cipher(const std::string& algo_spec,
if(mode == "OFB")
{
#if defined(BOTAN_HAS_OFB)
- return new OFB(cipher);
+ return new OFB(get_block_cipher(cipher));
#else
return 0;
#endif