diff options
author | lloyd <[email protected]> | 2010-10-13 02:45:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 02:45:00 +0000 |
commit | 63121e1e169616f724bf79b8aac1a2b4423c8904 (patch) | |
tree | 2375d5b5daaad8990b2cee951d137f2e7638e79b /src/hash/has160 | |
parent | 879d062c2b93e32362e338d1c6f9b1eda0f88493 (diff) |
Use output_length() instead of OUTPUT_LENGTH pseudo-property
Diffstat (limited to 'src/hash/has160')
-rw-r--r-- | src/hash/has160/has160.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/has160/has160.cpp b/src/hash/has160/has160.cpp index 4f8db53f7..72246a845 100644 --- a/src/hash/has160/has160.cpp +++ b/src/hash/has160/has160.cpp @@ -144,7 +144,7 @@ void HAS_160::compress_n(const byte input[], size_t blocks) */ void HAS_160::copy_out(byte output[]) { - for(size_t i = 0; i != OUTPUT_LENGTH; i += 4) + for(size_t i = 0; i != output_length(); i += 4) store_le(digest[i/4], output + i); } |