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 /crypto | |
parent | 40a200f9e781381d72d234c886e38bcfce36bbc8 (diff) | |
download | openssl-ee28152e86641e0299fdb3151716bb0451b2bc53.tar.gz |
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 'crypto')
-rw-r--r-- | crypto/cmp/cmp_genm.c | 2 | ||||
-rw-r--r-- | crypto/x509/v3_genn.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cmp/cmp_genm.c b/crypto/cmp/cmp_genm.c index 8d92019c83..17f2f1d3ac 100644 --- a/crypto/cmp/cmp_genm.c +++ b/crypto/cmp/cmp_genm.c @@ -354,7 +354,7 @@ int OSSL_CMP_get1_crlUpdate(OSSL_CMP_CTX *ctx, const X509 *crlcert, OSSL_CMP_CRLSTATUS *status = NULL; STACK_OF(OSSL_CMP_CRLSTATUS) *list = NULL; OSSL_CMP_ITAV *req = NULL, *itav = NULL; - STACK_OF(X509_CRL) *crls; + STACK_OF(X509_CRL) *crls = NULL; int res = 0; if (crl == NULL) { diff --git a/crypto/x509/v3_genn.c b/crypto/x509/v3_genn.c index c71e5b9111..b3c3a5c545 100644 --- a/crypto/x509/v3_genn.c +++ b/crypto/x509/v3_genn.c @@ -62,7 +62,7 @@ int GENERAL_NAME_set1_X509_NAME(GENERAL_NAME **tgt, const X509_NAME *src) { GENERAL_NAME *name; - if (tgt == NULL){ + if (tgt == NULL) { ERR_raise(ERR_LIB_X509V3, X509V3_R_INVALID_NULL_ARGUMENT); return 0; } |