# [BUG] git send-email and SSL_verify_mode

1 messages from 2013-03-21 to 2013-03-21. Participants: Ramkumar Ramachandra.
Thread: https://gitlist.dev/t/33243

## Ramkumar Ramachandra, 2013-03-21 09:48

Subject: [BUG] git send-email and SSL_verify_mode
Message-ID: <CALkWK0mgA8kb6LLANV78geTOnW0ON7H=hBV2VPkg62-9pFG68Q@mail.gmail.com>
URL: https://gitlist.dev/e/CALkWK0mgA8kb6LLANV78geTOnW0ON7H%3DhBV2VPkg62-9pFG68Q%40mail.gmail.com

```
Hi,

With recent (I'm how recent exactly) versions of IO::Socket::SSL, git
send-email:1169 spits out the following warning, which originates in
Net::SMTP::SSL:

*******************************************************************
 Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
 is depreciated! Please set SSL_verify_mode to SSL_VERIFY_PEER
 together with SSL_ca_file|SSL_ca_path for verification.
 If you really don't want to verify the certificate and keep the
 connection open to Man-In-The-Middle attacks please set
 SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************

Nevertheless, it does manage to send the email successfully.  I'm not
sure how to fix this bug, since my Perl-foo is weak.  Please advise.

Thanks.

Ram

```
