aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libstate/engine/def_engine/lookup_block.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstate/engine/def_engine/lookup_block.cpp b/src/libstate/engine/def_engine/lookup_block.cpp
index 3503433e8..64a969dce 100644
--- a/src/libstate/engine/def_engine/lookup_block.cpp
+++ b/src/libstate/engine/def_engine/lookup_block.cpp
@@ -231,8 +231,7 @@ Default_Engine::find_block_cipher(const SCAN_Name& request,
#if defined(BOTAN_HAS_LUBY_RACKOFF)
if(request.algo_name() == "Luby-Rackoff" && request.arg_count() == 1)
{
- const HashFunction* hash =
- af.make_hash_function(request.arg(0));
+ const HashFunction* hash = af.prototype_hash_function(request.arg(0));
if(hash)
return new LubyRackoff(hash->clone());