Mercurial > hg > nginx-tests
changeset 1750:b28f88e352dd
Tests: skip ssl_verify_depth.t with LibreSSL.
It fails with the new X509 verifier appeared in LibreSSL 3.4.0 due to
a chain depth not limited except by X509_VERIFY_MAX_CHAIN_CERTS (32).
The other two tests ssl_crl.t and ssl_verify_client.t pass again after
bug fixes in LibreSSL 3.4.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 29 Nov 2021 19:12:36 +0300 |
parents | 34fc85598287 |
children | 18ac4d9e5a2a |
files | ssl_verify_depth.t |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ssl_verify_depth.t Wed Nov 24 19:28:03 2021 +0300 +++ b/ssl_verify_depth.t Mon Nov 29 19:12:36 2021 +0300 @@ -27,10 +27,11 @@ eval { IO::Socket::SSL::SSL_VERIFY_NONE(); }; plan(skip_all => 'IO::Socket::SSL too old') if $@; -my $t = Test::Nginx->new()->has(qw/http http_ssl/) - ->has_daemon('openssl')->plan(9); +my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl'); -$t->write_file_expand('nginx.conf', <<'EOF'); +plan(skip_all => 'LibreSSL') if $t->has_module('LibreSSL'); + +$t->plan(9)->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%