Align call to SHA256_Final - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 0ede11b6f9cd13ee8e1c01db78762705512e5316
DIR parent 9656eb836d021be15e48d06a9d75ae210131185a
HTML Author: sin <sin@2f30.org>
Date: Thu, 21 Feb 2019 11:01:31 +0000
Align call to SHA256_Final
Diffstat:
M dedup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR 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;