Browse Source

Merge branch 'rk/send-email-ssl-cert' into maint

A recent update to "git send-email" broke platforms where
/etc/ssl/certs/ directory exists but cannot be used as SSL_ca_path
(e.g. Fedora rawhide).

* rk/send-email-ssl-cert:
  send-email: /etc/ssl/certs/ directory may not be usable as ca_path
maint
Junio C Hamano 11 years ago
parent
commit
7c9b668b83
  1. 3
      git-send-email.perl

3
git-send-email.perl

@ -1095,7 +1095,8 @@ sub ssl_verify_params { @@ -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 "") {

Loading…
Cancel
Save