]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a Certificate Policies Test
authorMatt Caswell <matt@openssl.org>
Tue, 7 Mar 2023 17:07:57 +0000 (17:07 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Mar 2023 11:31:38 +0000 (13:31 +0200)
commit591feddc61f113827883ad8bae05109ee01ccd41
treebfe1dd2dc55e0cea00e2543a2a4462b8d8dd2dec
parente4142ec43bcc08ffdb090580e24c24a7da302a32
Add a Certificate Policies Test

Test that a valid certificate policy is accepted and that an invalid
certificate policy is rejected. Specifically we are checking that a
leaf certificate with an invalid policy is detected.

Related-to: CVE-2023-0465
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20585)
test/recipes/25-test_verify.t