diff options
author | lloyd <[email protected]> | 2010-04-22 17:50:01 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-04-22 17:50:01 +0000 |
commit | 3bc6f213f911fb52fa9c412bb6af1a9ece60a086 (patch) | |
tree | d77ecb581917f0387e1997d49a9e4970d390dfa5 /src/hash | |
parent | 1edab5adc81353f74e7c20be4f88093a5cbd2994 (diff) |
Comb4P: hashes must be the same length
Diffstat (limited to 'src/hash')
-rw-r--r-- | src/hash/comb4p/comb4p.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hash/comb4p/comb4p.cpp b/src/hash/comb4p/comb4p.cpp index ff6cb43a9..1afc5c8e7 100644 --- a/src/hash/comb4p/comb4p.cpp +++ b/src/hash/comb4p/comb4p.cpp @@ -52,12 +52,10 @@ Comb4P::Comb4P(HashFunction* h1, HashFunction* h2) : comb4p_block_size(h1, h2)), hash1(h1), hash2(h2) { -#if 0 if(hash1->OUTPUT_LENGTH != hash2->OUTPUT_LENGTH) throw std::invalid_argument("Comb4P: Incompatible hashes " + hash1->name() + " and " + hash2->name()); -#endif clear(); } |