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