clarify which functions are the CMS functions which must have CMS_PARTIAL set
authorMichael Richardson <mcr@sandelman.ca>
Thu, 27 Dec 2018 18:26:49 +0000 (13:26 -0500)
committerMatt Caswell <matt@openssl.org>
Sun, 27 Jan 2019 12:25:53 +0000 (12:25 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7960)

(cherry picked from commit 61e033308b1c004bd808352fb1d786547dcdf62b)

doc/man3/CMS_get0_type.pod

index 86526e0f1e0d2db7dce9c66f8eb93c86dd6eabc3..77af6b0e4f3053122d8a95ec2f740e027cce40bd 100644 (file)
@@ -20,7 +20,8 @@ an ASN1_OBJECT pointer. An application can then decide how to process the
 CMS_ContentInfo structure based on this value.
 
 CMS_set1_eContentType() sets the embedded content type of a CMS_ContentInfo
-structure. It should be called with CMS functions with the B<CMS_PARTIAL>
+structure. It should be called with CMS functions (such as L<CMS_sign>, L<CMS_encrypt>)
+with the B<CMS_PARTIAL>
 flag and B<before> the structure is finalised, otherwise the results are
 undefined.