From f13bb6ae71e4cdeabf3546d933f86b1b42c761e8 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Mon, 7 Apr 2025 16:40:05 -0400 Subject: [PATCH] Fix PKCS7_sign and CMS_sign default hash documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes #27291. See issue for details. Reviewed-by: Paul Yang Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27292) (cherry picked from commit 4f81470afadea3d1582d1df7f1b2b5e3ece63331) --- doc/man3/CMS_sign.pod | 2 +- doc/man3/PKCS7_sign.pod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man3/CMS_sign.pod b/doc/man3/CMS_sign.pod index 933f89a84bc..d8804c1d4ed 100644 --- a/doc/man3/CMS_sign.pod +++ b/doc/man3/CMS_sign.pod @@ -96,7 +96,7 @@ can be performed by obtaining the streaming ASN1 B directly using BIO_new_CMS(). If a signer is specified it will use the default digest for the signing -algorithm. This is B for both RSA and DSA keys. +algorithm. This is B for both RSA and DSA keys. If B and B are NULL then a certificates only CMS structure is output. diff --git a/doc/man3/PKCS7_sign.pod b/doc/man3/PKCS7_sign.pod index 1d997045fe1..f0f3941b33a 100644 --- a/doc/man3/PKCS7_sign.pod +++ b/doc/man3/PKCS7_sign.pod @@ -80,7 +80,7 @@ can be performed by obtaining the streaming ASN1 B directly using BIO_new_PKCS7(). If a signer is specified it will use the default digest for the signing -algorithm. This is B for both RSA and DSA keys. +algorithm. This is B for both RSA and DSA keys. The I, I and I parameters can all be NULL if the B flag is set. One or more signers can be added -- 2.47.2