dedup

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

commit 0ede11b6f9cd13ee8e1c01db78762705512e5316
parent 9656eb836d021be15e48d06a9d75ae210131185a
Author: sin <sin@2f30.org>
Date:   Thu, 21 Feb 2019 11:01:31 +0000

Align call to SHA256_Final

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

diff --git a/dedup.c b/dedup.c @@ -447,10 +447,9 @@ dedup(int fd, char *msg) dedup_chunk(snap, chunkp, chunk_size); drain_chunker(chunker, chunk_size); } + SHA256_Final(snap->md, &ctx); if (snap->nr_blk_descs > 0) { - SHA256_Final(snap->md, &ctx); - if (msg != NULL) { size_t size;