[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Wed Aug 26 21:09:46 UTC 2020


The branch, master has been updated
       via  c3f7414c rsync-ssl: Verify the hostname in the certificate when using openssl.
      from  4c4fce51 Add some comments about protocol versions.

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


- Log -----------------------------------------------------------------
commit c3f7414c450faaf6a8281cc4a4403529aeb7d859
Author: Matt McCutchen <matt at mattmccutchen.net>
Date:   Wed Aug 26 12:16:08 2020 -0400

    rsync-ssl: Verify the hostname in the certificate when using openssl.

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

Summary of changes:
 rsync-ssl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/rsync-ssl b/rsync-ssl
index 8101975a..46701af1 100755
--- a/rsync-ssl
+++ b/rsync-ssl
@@ -129,7 +129,7 @@ function rsync_ssl_helper {
     fi
 
     if [[ $RSYNC_SSL_TYPE == openssl ]]; then
-	exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -connect $hostname:$port
+	exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -verify_hostname $hostname -connect $hostname:$port
     elif [[ $RSYNC_SSL_TYPE == gnutls ]]; then
 	exec $RSYNC_SSL_GNUTLS --logfile=/dev/null $gnutls_cert_opt $gnutls_opts $hostname:$port
     else


-- 
The rsync repository.



More information about the rsync-cvs mailing list