summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/asn1/asn1_gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_gen.c b/src/lib/libcrypto/asn1/asn1_gen.c
index 28af199430..1bec75bba5 100644
--- a/src/lib/libcrypto/asn1/asn1_gen.c
+++ b/src/lib/libcrypto/asn1/asn1_gen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1_gen.c,v 1.33 2026/09/02 07:11:04 tb Exp $ */ 1/* $OpenBSD: asn1_gen.c,v 1.34 2026/09/02 07:11:55 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -447,8 +447,8 @@ asn1_multi(int utype, const char *section, X509V3_CTX *cnf)
447 if ((sk = sk_ASN1_TYPE_new_null()) == NULL) 447 if ((sk = sk_ASN1_TYPE_new_null()) == NULL)
448 goto err; 448 goto err;
449 449
450 if (section) { 450 if (section != NULL) {
451 if (!cnf) 451 if (cnf == NULL)
452 goto err; 452 goto err;
453 453
454 if ((sect = X509V3_get0_section(cnf, section)) == NULL) 454 if ((sect = X509V3_get0_section(cnf, section)) == NULL)