summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2022-12-18 20:54:15 +0100
committerHugo Landau <hlandau@openssl.org>2023-09-01 10:14:25 +0100
commit869d95b00e22b68897a541abf3bcee3589d2d519 (patch)
treed1e9484e32849d06d98438d89734e68b31d2d869 /test
parent63cecc23e1b9b60c2dd030e887fee810f29ac197 (diff)
Update X509 fuzzer to verify a chain
It add supports for verifying that it's been signed by a CA, and checks the CRL and OCSP status Can find CVE-2022-4203 and CVE-2023-0286 Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20243) (cherry picked from commit 399c2da08ab9c6a382f8e9950742a022e847fec0)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/99-test_fuzz_x509.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/recipes/99-test_fuzz_x509.t b/test/recipes/99-test_fuzz_x509.t
index 9a1e3a19ca..7ca3ee8ae7 100644
--- a/test/recipes/99-test_fuzz_x509.t
+++ b/test/recipes/99-test_fuzz_x509.t
@@ -15,6 +15,9 @@ use OpenSSL::Test::Utils;
my $fuzzer = "x509";
setup("test_fuzz_${fuzzer}");
+plan skip_all => "This test requires ocsp support"
+ if disabled("ocsp");
+
plan tests => 2; # one more due to below require_ok(...)
require_ok(srctop_file('test','recipes','fuzz.pl'));