diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | lib/Net/FTP.pm | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ libnet 3.01 -- TODO - * TODO + * Require IO::Socket::SSL >= 1.999 to protect against a bad version (0.30) of + IO::Socket::IP and hopefully fix another bunch of CPAN Testers failures. libnet 3.00 -- Thu Oct 09 2014 diff --git a/lib/Net/FTP.pm b/lib/Net/FTP.pm index aa16bc8..39e1e74 100644 --- a/lib/Net/FTP.pm +++ b/lib/Net/FTP.pm @@ -107,7 +107,7 @@ sub new { $tlsargs{$_} = $arg{$_} for(grep { m{^SSL_} } keys %arg); } elsif ($arg{SSL}) { - croak("IO::Socket::SSL >= 1.944 needed for SSL support"); + croak("IO::Socket::SSL >= 1.999 needed for SSL support"); } my $ftp = $pkg->SUPER::new( @@ -287,7 +287,7 @@ sub size { sub starttls { my $ftp = shift; - can_ssl() or croak("IO::Socket::SSL >= 1.944 needed for SSL support"); + can_ssl() or croak("IO::Socket::SSL >= 1.999 needed for SSL support"); $ftp->is_SSL and croak("called starttls within SSL session"); $ftp->_AUTH('TLS') == CMD_OK or return; |