From 6d6279835ed48e33c3cfd3174fe7c7413a0bb435 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 8 Nov 2008 22:02:01 +0000 Subject: Remove use of lookup.h in CTR mode --- src/engine/def_engine/def_mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine') 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 -- cgit v1.2.3