=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsync/sender.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- src/usr.bin/rsync/sender.c 2024/02/19 16:39:18 1.31 +++ src/usr.bin/rsync/sender.c 2024/02/27 11:28:30 1.32 @@ -1,4 +1,4 @@ -/* $OpenBSD: sender.c,v 1.31 2024/02/19 16:39:18 claudio Exp $ */ +/* $OpenBSD: sender.c,v 1.32 2024/02/27 11:28:30 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -159,7 +159,7 @@ * finished with the file. */ - hash_file(up->stat.map, up->stat.mapsz, fmd, sess); + hash_file_final(&up->stat.ctx, fmd); if (!io_lowbuffer_alloc(sess, wb, wbsz, wbmax, dsz)) { ERRX1("io_lowbuffer_alloc"); return 0; @@ -619,6 +619,7 @@ /* Hash our blocks. */ + hash_file_start(&up.stat.ctx, sess); blkhash_set(up.stat.blktab, up.cur->blks); /*