Skip to content

Commit

Permalink
apps.c: add comment to do_X509_sign() referring to question #19805
Browse files Browse the repository at this point in the history
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from #21086)
  • Loading branch information
DDvO committed Jun 1, 2023
1 parent dea5e26 commit 586b540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/lib/apps.c
Expand Up @@ -2349,6 +2349,7 @@ int do_X509_sign(X509 *cert, int force_v1, EVP_PKEY *pkey, const char *md,
"keyid, issuer", !self_sign))
goto end;
}
/* May add further measures for ensuring RFC 5280 compliance, see #19805 */

if (mctx != NULL && do_sign_init(mctx, pkey, md, sigopts) > 0)
rv = (X509_sign_ctx(cert, mctx) > 0);
Expand Down

0 comments on commit 586b540

Please sign in to comment.