[BUG] git send-email and SSL_verify_mode
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Mar 21, 2013, 09:48 UTC
- Message-ID
- <CALkWK0mgA8kb6LLANV78geTOnW0ON7H=hBV2VPkg62-9pFG68Q@mail.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