diff options
author | lloyd <[email protected]> | 2010-06-16 00:02:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-16 00:02:12 +0000 |
commit | 9911da7218e58611435dec540c3f9397d2b9b0c9 (patch) | |
tree | d44869943ea53ceec3ad68b080f2d50bef38e668 /src/hash/tiger | |
parent | bb14aeadb3bc9137ae386460cd4d885b23d9a111 (diff) |
Tiger::clone's result always used 3 passes
Diffstat (limited to 'src/hash/tiger')
-rw-r--r-- | src/hash/tiger/tiger.h | 6 |
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 |