aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/rmd160/rmd160.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/rmd160/rmd160.cpp')
-rw-r--r--src/hash/rmd160/rmd160.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/rmd160/rmd160.cpp b/src/hash/rmd160/rmd160.cpp
index 255f3f95a..c3ae7119b 100644
--- a/src/hash/rmd160/rmd160.cpp
+++ b/src/hash/rmd160/rmd160.cpp
@@ -189,7 +189,7 @@ void RIPEMD_160::compress_n(const byte input[], size_t blocks)
*/
void RIPEMD_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);
}