diff options
-rw-r--r-- | crypto/digest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/digest.c b/crypto/digest.c index 7a8c3c092d..bc6de0b98f 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -272,6 +272,9 @@ int digest_file_window(struct digest *d, const char *filename, goto out_free; size -= now; len += now; + + if (!flags) + buf += now; } if (sig) |