diff options
Diffstat (limited to 'src/hash/rmd128')
-rw-r--r-- | src/hash/rmd128/rmd128.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/rmd128/rmd128.cpp b/src/hash/rmd128/rmd128.cpp index 61737a4a0..edbe9fa84 100644 --- a/src/hash/rmd128/rmd128.cpp +++ b/src/hash/rmd128/rmd128.cpp @@ -156,7 +156,7 @@ void RIPEMD_128::compress_n(const byte input[], size_t blocks) */ void RIPEMD_128::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); } |