diff options
author | Rajeev Ranjan <ranjan.rajeev@siemens.com> | 2024-03-07 20:23:34 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-01 14:59:39 +0200 |
commit | ee28152e86641e0299fdb3151716bb0451b2bc53 (patch) | |
tree | 31c213bd37f8b543fb095a98f6f8f1202c4aa76c /apps/lib | |
parent | CMP: add support for genm with crlStatusList and genp with crls (diff) | |
download | openssl-ee28152e86641e0299fdb3151716bb0451b2bc53.tar.xz openssl-ee28152e86641e0299fdb3151716bb0451b2bc53.zip |
CMP: Improvements of the support for requesting CRL
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23768)
Diffstat (limited to 'apps/lib')
-rw-r--r-- | apps/lib/cmp_mock_srv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/lib/cmp_mock_srv.c b/apps/lib/cmp_mock_srv.c index 1c7bf22f6b..b69d29a678 100644 --- a/apps/lib/cmp_mock_srv.c +++ b/apps/lib/cmp_mock_srv.c @@ -413,8 +413,8 @@ static int check_client_crl(const STACK_OF(OSSL_CMP_CRLSTATUS) *crlStatusList, const X509_CRL *crl) { OSSL_CMP_CRLSTATUS *crlstatus; - DIST_POINT_NAME *dpn; - GENERAL_NAMES *issuer; + DIST_POINT_NAME *dpn = NULL; + GENERAL_NAMES *issuer = NULL; ASN1_TIME *thisupd = NULL; if (sk_OSSL_CMP_CRLSTATUS_num(crlStatusList) != 1) { @@ -477,7 +477,7 @@ static OSSL_CMP_ITAV *process_genm_itav(mock_srv_ctx *ctx, int req_nid, break; case NID_id_it_crlStatusList: { - STACK_OF(OSSL_CMP_CRLSTATUS) *crlstatuslist; + STACK_OF(OSSL_CMP_CRLSTATUS) *crlstatuslist = NULL; int res = 0; if (!OSSL_CMP_ITAV_get0_crlStatusList(req, &crlstatuslist)) |