diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2022-12-18 20:54:15 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-09-01 10:16:19 +0100 |
commit | 9e4418f7eddba63c9c5a882d1273edd7dc0fc466 (patch) | |
tree | a8af11207ac4553868627ffb30836e6b4e853b5c /test | |
parent | fc46712f2eacc6307d4e1f2a27d41cb5d51b6f5a (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)
(cherry picked from commit 869d95b00e22b68897a541abf3bcee3589d2d519)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/99-test_fuzz_x509.t | 3 |
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')); |