diff options
author | Wayne Davison <wayne@opencoder.net> | 2022-09-10 09:43:47 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2022-09-10 11:39:37 -0700 |
commit | 7e2711bb2b4b30bc842dd8670c34a87e2ca0c2df (patch) | |
tree | a9d8193db72dcfac35891176dcd8ede9ebdf42d5 /configure.ac | |
parent | b8c2fde3a54abc1ebef6d375b687395b798412f5 (diff) | |
download | rsync-7e2711bb2b4b30bc842dd8670c34a87e2ca0c2df.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b6de4eb3..7fa6ff73 100644 --- a/configure.ac +++ b/configure.ac @@ -136,6 +136,16 @@ if test x"$GCC" = x"yes"; then CFLAGS="$CFLAGS -Wall -W" fi +AC_ARG_WITH(openssl-conf, + AS_HELP_STRING([--with-openssl-conf=PATH],[set default OPENSSL_CONF path for rsync])) +case "$with_openssl_conf" in + *[^-/a-zA-Z0-9.,=@+_]*) AC_MSG_ERROR([Invalid path given to --with-openssl-conf]) ;; + /*) CFLAGS="$CFLAGS -DSET_OPENSSL_CONF=$with_openssl_conf" ;; + no|'') ;; + yes) AC_MSG_ERROR([No path given to --with-openssl-conf]) ;; + *) AC_MSG_ERROR([Non absolute path given to --with-openssl-conf]) ;; +esac + AC_ARG_WITH(rrsync, AS_HELP_STRING([--with-rrsync],[also install the rrsync script and its manpage])) if test x"$with_rrsync" != x"yes"; then |