aboutsummaryrefslogtreecommitdiffstats
path: root/include/arch
diff options
context:
space:
mode:
authorDaniel Kubec <[email protected]>2026-10-01 19:58:12 +0200
committerEugene Syromiatnikov <[email protected]>2026-10-24 11:42:53 +0200
commit0e2a7f23387cf7b7cd22832c1f5bdc1200683d6e (patch)
treee67c7775e89b18f97a0478dc812ae96be4378d64 /include/arch
parentMigrate test_gcm_reinit from evp_extra_test.c to evp_aead_test.c (diff)
downloadopenssl-0e2a7f23387cf7b7cd22832c1f5bdc1200683d6e.tar.gz
openssl-0e2a7f23387cf7b7cd22832c1f5bdc1200683d6e.zip
apps/lib/cmp_mock_srv.c: Fix NULL dereference of ASN1_INTEGER in refcert_cmp()
The issuer and the serialNumber are independently OPTIONAL in a CertTemplate. A component absent from the request cannot confirm a match with the reference cert, and ASN1_INTEGER_cmp() does not accept NULL, so require each component the reference cert has to be present in the request and to be equal. Fixes: 66be663b64e0 "cmp_mock_srv.c: Add missing OldCertID check for 'kur' cert update requests" References: b971d4198def "CMP mock server: add -ref_cert option and corresponding ossl_cmp_mock_srv_set1_refCert()" Reviewed-by: Dmitry Belyavskiy <[email protected]> Reviewed-by: Mounir Idrassi <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Merge-date: Sat Oct 24 09:44:19 2026 Merged-from: https://github.com/openssl/openssl/pull/33071
Diffstat (limited to 'include/arch')
0 files changed, 0 insertions, 0 deletions