From: Dr. David von Oheimb Date: Fri, 24 Feb 2023 13:03:19 +0000 (+0100) Subject: CMS_add0_cert.pod: add missing man section numbers in recently added L refs X-Git-Tag: openssl-3.2.0-alpha1~1229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6657e585b60601d89e507b6140b84074649e429;p=thirdparty%2Fopenssl.git CMS_add0_cert.pod: add missing man section numbers in recently added L refs Reviewed-by: Hugo Landau Reviewed-by: Matt Caswell Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/20369) --- diff --git a/doc/man3/CMS_add0_cert.pod b/doc/man3/CMS_add0_cert.pod index eb105d72961..fa19532e2ef 100644 --- a/doc/man3/CMS_add0_cert.pod +++ b/doc/man3/CMS_add0_cert.pod @@ -22,8 +22,8 @@ CMS_add0_crl, CMS_add1_crl, CMS_get1_crls CMS_add0_cert() and CMS_add1_cert() add certificate I to I unless it is already present. -This is used by L and L and may be used before -calling L to help chain building in certificate validation. +This is used by L and L and may be used before +calling L to help chain building in certificate validation. As the 0 implies, CMS_add0_cert() adds I internally to I and on success it must not be freed up by the caller. In contrast, the caller of CMS_add1_cert() must free I. @@ -37,7 +37,7 @@ CMS_get1_certs() returns all certificates in I. CMS_add0_crl() and CMS_add1_crl() add CRL I to I. I must be of type signed data or (authenticated) enveloped data. For signed data, such a CRL may be used in certificate validation -with L. +with L. It may be given both for inclusion when signing a CMS message and when verifying a signed CMS message.