]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
testcommon: require IO::Socket::SSL >= 2.007
[public-inbox.git] / t / nntpd.t
index c681b01c3d9d4eb40036ae9f8e98543c2f1bd07b..9d0ee2baa6d7eb22e47d37b509f52b3f66b22635 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -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');
        };