diff options
Diffstat (limited to 'src/lib/hash/md5')
-rw-r--r-- | src/lib/hash/md5/md5.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/md5/md5.cpp b/src/lib/hash/md5/md5.cpp index 948f4e73b..a68bb725d 100644 --- a/src/lib/hash/md5/md5.cpp +++ b/src/lib/hash/md5/md5.cpp @@ -116,8 +116,7 @@ void MD5::compress_n(const byte input[], size_t blocks) */ void MD5::copy_out(byte output[]) { - for(size_t i = 0; i != output_length(); i += 4) - store_le(digest[i/4], output + i); + copy_out_vec_le(output, output_length(), digest); } /* |