Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-14 Thread Ramkumar Ramachandra
Torsten Bögershausen wrote: /usr/bin/perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION\n;' 1.22 This is ancient! (I have 1.84). Is it not possible to do an ssl-verify-peer in older versions (is it exported as something else)? The older versions don't display the warning anyway, and

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-14 Thread brian m. carlson
On Sun, Jul 14, 2013 at 07:19:10PM +0530, Ramkumar Ramachandra wrote: Torsten Bögershausen wrote: /usr/bin/perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION\n;' 1.22 This is ancient! (I have 1.84). Is it not possible to do an ssl-verify-peer in older versions (is it exported as

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-14 Thread Ramkumar Ramachandra
brian m. carlson wrote: I didn't stick the require in the eval because git-send-email will fail in this case anyway if you don't have it, since Net::SMTP::SSL requires it. Let me know if you want a patch for this on top of the existing two in this series and I'll provide one. Yeah, that'd be

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-14 Thread Torsten Bögershausen
On 2013-07-14 19.03, brian m. carlson wrote: On Sun, Jul 14, 2013 at 07:19:10PM +0530, Ramkumar Ramachandra wrote: Torsten Bögershausen wrote: /usr/bin/perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION\n;' 1.22 This is ancient! (I have 1.84). Is it not possible to do an

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-14 Thread Junio C Hamano
Torsten Bögershausen tbo...@web.de writes: I didn't stick the require in the eval because git-send-email will fail in this case anyway if you don't have it, since Net::SMTP::SSL requires it. Let me know if you want a patch for this on top of the existing two in this series and I'll provide

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-06 Thread Torsten Bögershausen
On 2013-07-05 14.05, Ramkumar Ramachandra wrote: Due to a recent change in the Net::SMTP::SSL module, send-email emits the following ugly warning everytime a email is sent via SSL: *** Using the default of SSL_verify_mode of

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-06 Thread brian m. carlson
On Sat, Jul 06, 2013 at 04:28:00PM +0200, Torsten Bögershausen wrote: On 2013-07-05 14.05, Ramkumar Ramachandra wrote: Due to a recent change in the Net::SMTP::SSL module, send-email emits the following ugly warning everytime a email is sent via SSL:

Re: [PATCH v2 1/2] send-email: squelch warning from Net::SMTP::SSL

2013-07-06 Thread Torsten Bögershausen
On 2013-07-06 16.32, brian m. carlson wrote: perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION\n;' Mac OS X, 10.6: (I think this perl we use for git:) /usr/bin/perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION\n;' 1.22 (And this is in my path:) which perl /opt/local/bin/perl