# HG changeset patch # User Sergey Kandaurov # Date 1692874766 -14400 # Node ID 6bafe94191262736bd05ff3f93aff7354831539f # Parent 4d13c9e74d04bb6cdd83923ded045d665adc5226 Tests: allowed ssl_curve.t to run on BoringSSL. Recently BoringSSL has got SSL_get_negotiated_group(), which makes $ssl_curve to return the expected value. While here, converted SSL library check into TODO. diff --git a/ssl_curve.t b/ssl_curve.t --- a/ssl_curve.t +++ b/ssl_curve.t @@ -23,7 +23,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; my $t = Test::Nginx->new() - ->has(qw/http http_ssl rewrite socket_ssl openssl:3.0.0/) + ->has(qw/http http_ssl rewrite socket_ssl/) ->has_daemon('openssl'); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -75,6 +75,10 @@ foreach my $name ('localhost') { ############################################################################### +local $TODO = 'OpenSSL too old' + unless $t->has_feature('openssl:3.0.0') + or $t->has_module('BoringSSL'); + like(http_get('/curve', SSL => 1), qr/^prime256v1 /m, 'ssl curve'); ###############################################################################