aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-06-03 12:49:48 +0000
committerlloyd <[email protected]>2009-06-03 12:49:48 +0000
commita96eae0b3394b64aea544f9f0ce4664d3b4a5c58 (patch)
tree5ae8d4cc57021cef52d29586852f7f0287e92f0c /src/engine
parentab6eace5760deeff742d515e7d72389cdd2d974b (diff)
Small cleanups in the Skein-512 source, and add support for the
personalization option.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/def_engine/lookup_hash.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/def_engine/lookup_hash.cpp b/src/engine/def_engine/lookup_hash.cpp
index d1a8e4503..58136fc5a 100644
--- a/src/engine/def_engine/lookup_hash.cpp
+++ b/src/engine/def_engine/lookup_hash.cpp
@@ -167,7 +167,8 @@ Default_Engine::find_hash(const SCAN_Name& request,
#if defined(BOTAN_HAS_SKEIN_512)
if(request.algo_name() == "Skein-512")
- return new Skein_512(request.arg_as_u32bit(0, 512));
+ return new Skein_512(request.arg_as_u32bit(0, 512),
+ request.arg(1, ""));
#endif
#if defined(BOTAN_HAS_WHIRLPOOL)