# HG changeset patch # User Sergey Kandaurov # Date 1539275044 -10800 # Node ID ad3cb6f451a55684f621148e69f37d7281e80ef6 # Parent 261f01ee53646894bc43b71178a78dbe18dbc0b6 Tests: skip ssl_sni_reneg.t with TLS 1.3. diff --git a/ssl_sni_reneg.t b/ssl_sni_reneg.t --- a/ssl_sni_reneg.t +++ b/ssl_sni_reneg.t @@ -39,8 +39,7 @@ eval { }; plan(skip_all => 'Net::SSLeay with OpenSSL SNI support required') if $@; -my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl') - ->plan(8); +my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl'); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -95,6 +94,14 @@ 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); + ############################################################################### my ($s, $ssl) = get_ssl_socket(8080);