[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Mon Oct 24 15:38:56 UTC 2022


The branch, master has been updated
       via  1b268880 Fix protocol <= 29 daemon auth if openssl is handling md4.
      from  08ec80ac Cygwin needs stdout flushed. [buildall]

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1b2688807d0e0b9486ad88470480c9f8641f9241
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Oct 24 08:38:00 2022 -0700

    Fix protocol <= 29 daemon auth if openssl is handling md4.

-----------------------------------------------------------------------

Summary of changes:
 compat.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/compat.c b/compat.c
index a8a6afe8..7acedf0e 100644
--- a/compat.c
+++ b/compat.c
@@ -873,8 +873,10 @@ void negotiate_daemon_auth(int f_out, int am_client)
 		}
 	}
 	am_server = save_am_server;
-	if (md4_is_old && valid_auth_checksums.negotiated_nni->num == CSUM_MD4)
+	if (md4_is_old && valid_auth_checksums.negotiated_nni->num == CSUM_MD4) {
 		valid_auth_checksums.negotiated_nni->num = CSUM_MD4_OLD;
+		valid_auth_checksums.negotiated_nni->flags = 0;
+	}
 }
 
 int get_subprotocol_version()


-- 
The rsync repository.



More information about the rsync-cvs mailing list