aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/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