Improve various things in the checksum code
authorWayne Davison <wayne@opencoder.net>
Sat, 10 Sep 2022 16:43:47 +0000 (09:43 -0700)
committerWayne Davison <wayne@opencoder.net>
Sat, 10 Sep 2022 18:39:37 +0000 (11:39 -0700)
commit7e2711bb2b4b30bc842dd8670c34a87e2ca0c2df
treea9d8193db72dcfac35891176dcd8ede9ebdf42d5
parentb8c2fde3a54abc1ebef6d375b687395b798412f5
Improve various things in the checksum code

- Size flist checksum data to hold the active size, not the max.
- Add a negotiated hash method to the daemon auth code.
- Use EVP for all openssl digests. This makes it easy to add more
  openssl digest methods and avoids deprecation warnings.
- Support a way to re-enable deprecated digests via openssl conf
  file and allow a default file to be configured.
- Supply a simple openssl-rsync.cnf file to enable legacy digests.
18 files changed:
NEWS.md
authenticate.c
checksum.c
clientserver.c
compat.c
configure.ac
flist.c
lib/md-defines.h
lib/md5.c
lib/mdigest.h
log.c
main.c
match.c
packaging/openssl-rsync.cnf [new file with mode: 0644]
receiver.c
rsync.h
usage.c
xattrs.c