aboutsummaryrefslogtreecommitdiff
path: root/doc/man3/CMS_get0_type.pod
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:24 +0000
commit61e033308b1c004bd808352fb1d786547dcdf62b (patch)
treeab224e4fa63dcd5e8f5ab36196e47cbe412621bf /doc/man3/CMS_get0_type.pod
parent3d43f9c809e42b960be94f2f4490d6d14e063486 (diff)
downloadopenssl-61e033308b1c004bd808352fb1d786547dcdf62b.zip
openssl-61e033308b1c004bd808352fb1d786547dcdf62b.tar.gz
openssl-61e033308b1c004bd808352fb1d786547dcdf62b.tar.bz2
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)
Diffstat (limited to 'doc/man3/CMS_get0_type.pod')
-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 bd45e14..986154f 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.