diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-11 04:43:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-11 04:43:40 +0000 |
commit | eed23c25dce242c6fe8e9ced1374037603c7bc2c (patch) | |
tree | 56d1f8c80970dc4a11844313fd270e762548d9db /lib | |
parent | 8204d34b9745551107fdc43a7562839e9a5e8e2f (diff) | |
download | coreutils-eed23c25dce242c6fe8e9ced1374037603c7bc2c.tar.xz |
(md5_stream): Apply fix from Ralph Loader
<loader@maths.ox.ac.uk> via Ulrich Drepper.
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; } |