CMS_compress() creates and returns a CMS CompressedData structure. B<comp_nid>
is the compression algorithm to use or B<NID_undef> to use the default
-algorithms (zlib compression). B<in> is the content to be compressed.
+algorithm (zlib compression). B<in> is the content to be compressed.
B<flags> is an optional set of flags.
=head1 NOTES
The only currently supported compression algorithm is zlib using the NID
NID_zlib_compression.
-If zlib support is not compiled into OpenSSL this CMS_compress() will return
+If zlib support is not compiled into OpenSSL then CMS_compress() will return
an error.
If the B<CMS_TEXT> flag is set MIME headers for type B<text/plain> are
can be performed by obtaining the streaming ASN1 B<BIO> directly using
BIO_new_CMS().
+Additional compression parameters such as the zlib compression level cannot
+currently be set.
+
=head1 RETURN VALUES
CMS_compress() returns either a CMS_ContentInfo structure or NULL if an error