From 63121e1e169616f724bf79b8aac1a2b4423c8904 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 02:45:00 +0000 Subject: Use output_length() instead of OUTPUT_LENGTH pseudo-property --- src/hash/par_hash/par_hash.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hash/par_hash') diff --git a/src/hash/par_hash/par_hash.cpp b/src/hash/par_hash/par_hash.cpp index 794166327..aef5f8247 100644 --- a/src/hash/par_hash/par_hash.cpp +++ b/src/hash/par_hash/par_hash.cpp @@ -19,7 +19,7 @@ size_t sum_of_hash_lengths(const std::vector& hashes) size_t sum = 0; for(size_t i = 0; i != hashes.size(); ++i) - sum += hashes[i]->OUTPUT_LENGTH; + sum += hashes[i]->output_length(); return sum; } @@ -44,7 +44,7 @@ void Parallel::final_result(byte hash[]) for(size_t i = 0; i != hashes.size(); ++i) { hashes[i]->final(hash + offset); - offset += hashes[i]->OUTPUT_LENGTH; + offset += hashes[i]->output_length(); } } -- cgit v1.2.3