summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-02-13 13:38:19 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-02-13 13:38:19 -0800
commit7c9b668b83c68f14d7249170a0609554a7b4a0fe (patch)
treebcf72c01eb8754b5b582bd71f630bb028e3a252b /git-send-email.perl
parentMerge branch 'sb/repack-in-c' into maint (diff)
parentsend-email: /etc/ssl/certs/ directory may not be usable as ca_path (diff)
downloadtgif-7c9b668b83c68f14d7249170a0609554a7b4a0fe.tar.xz
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
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 2016d9c619..fdb0029b59 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -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 "") {