Re: [PATCH v2 2/2] send-email: introduce sendemail.smtpsslcertpath
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:01
John Keeping [off-list ref] writes:
quoted hunk
@@ -1096,19 +1101,18 @@ sub smtp_auth_maybe { # Helper to come up with SSL/TLS certification validation params # and warn when doing no verification sub ssl_verify_params { - use IO::Socket::SSL qw(SSL_VERIFY_PEER SSL_VERIFY_NONE); - - if (!defined $smtp_ssl_cert_path) { - $smtp_ssl_cert_path = "/etc/ssl/certs"; + if ($smtp_ssl_verify == 0) { + return (SSL_verify_mode => IO::Socket::SSL->SSL_VERIFY_NONE);
I do not see any "use IO::Socket::SSL" anywhere after applying this patch. Is this expected to work?