changeset 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 1197c152215b
children 0152ce2de27f
files ssl_sni_reneg.t
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
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);
 
 ###############################################################################