Tests: skip OCSP stapling and multiple cert tests with BoringSSL.
diff --git a/ssl_certificates.t b/ssl_certificates.t
index 3d963c2..8c6e0c8 100644
--- a/ssl_certificates.t
+++ b/ssl_certificates.t
@@ -33,6 +33,8 @@
my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl');
+plan(skip_all => 'no multiple certificates') if $t->has_module('BoringSSL');
+
$t->write_file_expand('nginx.conf', <<'EOF');
%%TEST_GLOBALS%%
diff --git a/ssl_stapling.t b/ssl_stapling.t
index 33ee6b0..0c216f3 100644
--- a/ssl_stapling.t
+++ b/ssl_stapling.t
@@ -34,8 +34,11 @@
};
plan(skip_all => 'Net::SSLeay not installed or too old') if $@;
-my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl')
- ->plan(9)->write_file_expand('nginx.conf', <<'EOF');
+my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl');
+
+plan(skip_all => 'no OCSP stapling') if $t->has_module('BoringSSL');
+
+$t->plan(9)->write_file_expand('nginx.conf', <<'EOF');
%%TEST_GLOBALS%%