Mercurial > hg > nginx-tests
diff ssl_sni_reneg.t @ 1535:144c6ce732e4
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 02 Dec 2019 14:56:37 +0300 |
parents | dbce8fb5f5f8 |
children | fd440d324700 |
line wrap: on
line diff
--- a/ssl_sni_reneg.t +++ b/ssl_sni_reneg.t @@ -104,8 +104,6 @@ foreach my $name ('localhost') { ############################################################################### -my ($ossl) = $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; - my ($s, $ssl) = get_ssl_socket(8080); ok($s, 'connection'); @@ -121,18 +119,11 @@ ok(Net::SSLeay::set_tlsext_host_name($ss Net::SSLeay::write($ssl, 'Host: localhost' . CRLF . CRLF); -TODO: { -local $TODO = 'not yet' if $ossl ge '1.1.1' and $^O eq 'linux' - and !$t->has_version('1.15.2'); - ok(!Net::SSLeay::read($ssl), 'response'); } -} - # virtual servers -# in [1.15.4..1.15.5) SSL_OP_NO_RENEGOTIATION is cleared in servername callback ($s, $ssl) = get_ssl_socket(8081); ok($s, 'connection 2'); @@ -149,16 +140,10 @@ ok(Net::SSLeay::set_tlsext_host_name($ss Net::SSLeay::write($ssl, 'Host: localhost' . CRLF . CRLF); -TODO: { -local $TODO = 'not yet' if $ossl ge '1.1.1' and $^O eq 'linux' - and !$t->has_version('1.15.2'); - ok(!Net::SSLeay::read($ssl), 'virtual servers'); } -} - ############################################################################### sub get_ssl_socket {