Skip Menu |

This queue is for tickets about the Net-IMAP-Simple CPAN distribution.

Report information
The Basics
Id: 87613
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: jettero [...] cpan.org
Requestors: chen.yack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: "ChinaXing(陈云星)" <chen.yack [...] gmail.com>
Subject: [PATCH] fix bug in "find_ssl_defaults"
Date: Mon, 5 Aug 2013 16:04:41 +0800
To: bug-Net-IMAP-Simple [...] rt.cpan.org
From: ChinaXing(陈云星) <chen.yack [...] gmail.com>
From: "ChinaXing(陈云星)" <chen.yack@gmail.com> --- Simple.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Simple.pm b/Simple.pm index e0fa9a1..70caa30 100644 --- a/Simple.pm +++ b/Simple.pm @@ -68,10 +68,12 @@ sub new { if( -f $_ ) { @{ $self->{ssl_options} } = (SSL_ca_file=>$_, SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_PEER()); + $nothing = 0; last; } elsif( -d $_ ) { @{ $self->{ssl_options} } = (SSL_ca_path=>$_, SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_PEER()); + $nothing = 0; last; } } -- 1.7.9.5
Thanks! Pushing new verstion to the CPAN now. See also: http://jettero.pl/ -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.