aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-16 00:02:12 +0000
committerlloyd <[email protected]>2010-06-16 00:02:12 +0000
commit9911da7218e58611435dec540c3f9397d2b9b0c9 (patch)
treed44869943ea53ceec3ad68b080f2d50bef38e668 /src
parentbb14aeadb3bc9137ae386460cd4d885b23d9a111 (diff)
Tiger::clone's result always used 3 passes
Diffstat (limited to 'src')
-rw-r--r--src/hash/tiger/tiger.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hash/tiger/tiger.h b/src/hash/tiger/tiger.h
index 441b83664..380f6eb24 100644
--- a/src/hash/tiger/tiger.h
+++ b/src/hash/tiger/tiger.h
@@ -20,7 +20,11 @@ class BOTAN_DLL Tiger : public MDx_HashFunction
public:
void clear();
std::string name() const;
- HashFunction* clone() const { return new Tiger(OUTPUT_LENGTH); }
+
+ HashFunction* clone() const
+ {
+ return new Tiger(OUTPUT_LENGTH, PASS);
+ }
/**
* @param out_size specifies the output length; can be 16, 20, or 24