dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit e1c69d4298f03af158a5a5637dad600cdd41f3dc
parent bdab7844c3c3299f59eadea85b6e709ab0acad86
Author: z3bra <contactatz3bradotorg>
Date:   Wed, 20 Feb 2019 14:23:00 +0100

Calculate SHA256 sum of the uncompressed stream

Diffstat:
Mdedup.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dedup.c b/dedup.c @@ -495,7 +495,7 @@ dedup(int fd, char *msg) hash_blk(outp, csize, md); /* Calculate file hash one block at a time */ - SHA256_Update(&ctx, outp, csize); + SHA256_Update(&ctx, inp, blksize); ent = grow_ent(ent, ent->nblks + 1);