aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/par_hash
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:45:00 +0000
committerlloyd <[email protected]>2010-10-13 02:45:00 +0000
commit63121e1e169616f724bf79b8aac1a2b4423c8904 (patch)
tree2375d5b5daaad8990b2cee951d137f2e7638e79b /src/hash/par_hash
parent879d062c2b93e32362e338d1c6f9b1eda0f88493 (diff)
Use output_length() instead of OUTPUT_LENGTH pseudo-property
Diffstat (limited to 'src/hash/par_hash')
-rw-r--r--src/hash/par_hash/par_hash.cpp4
1 files changed, 2 insertions, 2 deletions
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<HashFunction*>& 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();
}
}