mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
apps.c: add comment to do_X509_sign() referring to question #19805
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 https://github.com/openssl/openssl/pull/21086)
This commit is contained in:
parent
dea5e2632c
commit
586b5407d6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user