Skip to content

Commit b03a341

Browse files
fixup! Fix empty AKID/SKID handling
1 parent c49c1bd commit b03a341

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crypto/cmp/cmp_msg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,6 @@ OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid)
366366
if (ctx->p10CSR != NULL
367367
&& (exts = X509_REQ_get_extensions(ctx->p10CSR)) == NULL)
368368
goto err;
369-
if (exts == NULL && (exts = sk_X509_EXTENSION_new_null()) == NULL)
370-
goto err;
371369
if (!ctx->SubjectAltName_nodefault && !HAS_SAN(ctx) && refcert != NULL
372370
&& (default_sans = X509V3_get_d2i(X509_get0_extensions(refcert),
373371
NID_subject_alt_name, NULL, NULL))

0 commit comments

Comments
 (0)