Re: Re* [PATCH] send-email: improve SSL certificate verification

2013-07-18 Thread Ramkumar Ramachandra
Junio C Hamano wrote: > Ramkumar, as you will still be the primary author of the resulting > commit, I tentatively added a line for your sign-off even though you > haven't signed off _this_ version yet, so that I would not forget. > If this version looks good, please tell us you would. Yeah, it se

Re* [PATCH] send-email: improve SSL certificate verification

2013-07-18 Thread Junio C Hamano
Torsten Bögershausen writes: > I wasn't sure where to apply the patch, so I manually copy/paste it > on top of pu: > commit 6b1ca0f4d443ee8716857b871b0513ae85c9f112 > Merge: bce90ab f351fcf > > Thanks, t9001 passes on Mac OS X 10.6. > To be sure I didn't messed it up, please see the diff below. >

Re: [PATCH] send-email: improve SSL certificate verification

2013-07-15 Thread brian m. carlson
On Tue, Jul 16, 2013 at 04:33:55AM +0200, Torsten Bögershausen wrote: > [snip] > I wasn't sure where to apply the patch, so I manually copy/paste it > on top of pu: > commit 6b1ca0f4d443ee8716857b871b0513ae85c9f112 > Merge: bce90ab f351fcf > > Thanks, t9001 passes on Mac OS X 10.6. > To be sure I

Re: [PATCH] send-email: improve SSL certificate verification

2013-07-15 Thread Torsten Bögershausen
[snip] I wasn't sure where to apply the patch, so I manually copy/paste it on top of pu: commit 6b1ca0f4d443ee8716857b871b0513ae85c9f112 Merge: bce90ab f351fcf Thanks, t9001 passes on Mac OS X 10.6. To be sure I didn't messed it up, please see the diff below. When it shows up on pu, I can re-test

[PATCH] send-email: improve SSL certificate verification

2013-07-15 Thread brian m. carlson
The SSL and TLS code for SMTP is non-trivial, so refactor it into a separate function for ease of use. Handle both files and directories as sources for CA certificates. Also add handling for older version of IO::Socket::SSL that do not support the SSL_VERIFY_PEER and SSL_VERIFY_NONE constants; in