summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2018-12-27 13:26:49 -0500
committerMatt Caswell <matt@openssl.org>2019-01-27 12:25:53 +0000
commit2d190d646cdd8e553fb02e21141b8845fedd5bf6 (patch)
tree4107b55f33fdd201e65bd0391698232bbd2a4c22 /doc
parenteae1c647dfc9c39db52f7c4a61faa09e6cbea92a (diff)
clarify which functions are the CMS functions which must have CMS_PARTIAL set
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)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/CMS_get0_type.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man3/CMS_get0_type.pod b/doc/man3/CMS_get0_type.pod
index 86526e0f1e..77af6b0e4f 100644
--- a/doc/man3/CMS_get0_type.pod
+++ b/doc/man3/CMS_get0_type.pod
@@ -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.