diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ md5_stream (stream, resblock) /* Read block. Take care for partial reads. */ do { - n = fread (buffer, 1, BLOCKSIZE - sum, stream); + n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; } |