Mercurial > hg > nginx-tests
diff ssl_sni_reneg.t @ 1853:36a4563f7f00
Tests: stick ssl_sni_reneg.t with TLSv1.2.
To make it run after enabling TLSv1.3 by default in nginx 1.23.4.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 11 Apr 2023 16:48:15 +0400 |
parents | fd440d324700 |
children | 0e1865aa9b33 |
line wrap: on
line diff
--- a/ssl_sni_reneg.t +++ b/ssl_sni_reneg.t @@ -55,6 +55,7 @@ http { ssl_certificate_key localhost.key; ssl_certificate localhost.crt; + ssl_protocols TLSv1.2; server { listen 127.0.0.1:8080 ssl; @@ -93,13 +94,6 @@ foreach my $name ('localhost') { } $t->run(); - -{ - my (undef, $ssl) = get_ssl_socket(8080); - plan(skip_all => "TLS 1.3 forbids renegotiation") - if Net::SSLeay::version($ssl) > 0x0303; -} - $t->plan(8); ###############################################################################