]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-send-email.perl
Git 1.9.2
[thirdparty/git.git] / git-send-email.perl
index 2016d9c6198957943a8bd2510e217fe72412062a..fdb0029b597898559376b1b28d692450794251f3 100755 (executable)
@@ -1095,7 +1095,8 @@ sub ssl_verify_params {
        }
 
        if (!defined $smtp_ssl_cert_path) {
-               $smtp_ssl_cert_path = "/etc/ssl/certs";
+               # use the OpenSSL defaults
+               return (SSL_verify_mode => SSL_VERIFY_PEER());
        }
 
        if ($smtp_ssl_cert_path eq "") {