mirror of https://github.com/openssl/openssl.git
Fix PKCS7_sign and CMS_sign default hash documentation
Fixes #27291. See issue for details. Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27292)
This commit is contained in:
parent
6509f18c9f
commit
4f81470afa
|
|
@ -97,7 +97,7 @@ can be performed by obtaining the streaming ASN1 B<BIO> directly using
|
|||
BIO_new_CMS().
|
||||
|
||||
If a signer is specified it will use the default digest for the signing
|
||||
algorithm. This is B<SHA1> for both RSA and DSA keys.
|
||||
algorithm. This is B<SHA256> for both RSA and DSA keys.
|
||||
|
||||
If B<signcert> and B<pkey> are NULL then a certificates only CMS structure is
|
||||
output.
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ can be performed by obtaining the streaming ASN1 B<BIO> directly using
|
|||
BIO_new_PKCS7().
|
||||
|
||||
If a signer is specified it will use the default digest for the signing
|
||||
algorithm. This is B<SHA1> for both RSA and DSA keys.
|
||||
algorithm. This is B<SHA256> for both RSA and DSA keys.
|
||||
|
||||
The I<certs>, I<signcert> and I<pkey> parameters can all be
|
||||
NULL if the B<PKCS7_PARTIAL> flag is set. One or more signers can be added
|
||||
|
|
|
|||
Loading…
Reference in New Issue