diff options
Diffstat (limited to 't')
-rw-r--r-- | t/nntpd-tls.t | 2 | ||||
-rw-r--r-- | t/nntpd.t | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/t/nntpd-tls.t b/t/nntpd-tls.t index 3de219f1..23baf4e4 100644 --- a/t/nntpd-tls.t +++ b/t/nntpd-tls.t @@ -10,8 +10,6 @@ use PublicInbox::TestCommon; require_mods(qw(DBD::SQLite IO::Socket::SSL Net::NNTP IO::Poll)); Net::NNTP->can('starttls') or plan skip_all => 'Net::NNTP does not support TLS'; -IO::Socket::SSL->VERSION(2.007) or - plan skip_all => 'IO::Socket::SSL <2.007 not supported by Net::NNTP'; my $cert = 'certs/server-cert.pem'; my $key = 'certs/server-key.pem'; @@ -111,11 +111,6 @@ EOF $n->can('starttls') or skip('Net::NNTP too old to support STARTTLS', 2); require_mods('IO::Socket::SSL', 2); - eval { - IO::Socket::SSL->VERSION(2.007); - } or skip(<<EOF, 2); -IO::Socket::SSL <2.007 not supported by Net::NNTP -EOF ok(!$n->starttls, 'STARTTLS fails when unconfigured'); is($n->code, 580, 'got 580 code on server w/o TLS'); }; |