summaryrefslogtreecommitdiffstats
path: root/md5.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-07 08:15:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-07 08:15:01 +0000
commit1dde52eb2bcedeced2ba3b13d0a07b3d591fc7c2 (patch)
treef653cba159a2e0f729d70ec026272882cd8ca123 /md5.cc
parentReleasing debian version 1.24-2. (diff)
downloadlziprecover-1dde52eb2bcedeced2ba3b13d0a07b3d591fc7c2.tar.xz
lziprecover-1dde52eb2bcedeced2ba3b13d0a07b3d591fc7c2.zip
Merging upstream version 1.25~pre1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'md5.cc')
-rw-r--r--md5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/md5.cc b/md5.cc
index e0a8afb..12dac39 100644
--- a/md5.cc
+++ b/md5.cc
@@ -178,7 +178,7 @@ void MD5SUM::md5_finish( md5_type & digest )
md5_update( padding, len ); // pad to 56 mod 64
md5_update( bits, 8 ); // append data length in bits
- for( int i = 0, j = 0; i < 4; i++, j += 4 ) // store state in digest
+ for( int i = 0, j = 0; i < 4; ++i, j += 4 ) // store state in digest
{
digest[j ] = (uint8_t)state[i];
digest[j+1] = (uint8_t)(state[i] >> 8);