Skip to content

Commit 212d9d0

Browse files
committed
Tests: stick ssl_sni_reneg.t with TLSv1.2.
To make it run after enabling TLSv1.3 by default in nginx 1.23.4.
1 parent 725b986 commit 212d9d0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ssl_sni_reneg.t

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ http {
5555
5656
ssl_certificate_key localhost.key;
5757
ssl_certificate localhost.crt;
58+
ssl_protocols TLSv1.2;
5859
5960
server {
6061
listen 127.0.0.1:8080 ssl;
@@ -93,13 +94,6 @@ foreach my $name ('localhost') {
9394
}
9495

9596
$t->run();
96-
97-
{
98-
my (undef, $ssl) = get_ssl_socket(8080);
99-
plan(skip_all => "TLS 1.3 forbids renegotiation")
100-
if Net::SSLeay::version($ssl) > 0x0303;
101-
}
102-
10397
$t->plan(8);
10498

10599
###############################################################################

0 commit comments

Comments
 (0)