X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FCMS_compress.pod;h=f017e9f041cf1b6e6cb42090d5a3313e6e3190ec;hb=706c5a4d353eeac4b3217138eeea6b737ff14681;hp=f2550b4947793d583af32fe0484fb679e247227b;hpb=360bb61d860f9ce7e48b2bb85d3ef9f521f95ab9;p=oweals%2Fopenssl.git diff --git a/doc/crypto/CMS_compress.pod b/doc/crypto/CMS_compress.pod index f2550b4947..f017e9f041 100644 --- a/doc/crypto/CMS_compress.pod +++ b/doc/crypto/CMS_compress.pod @@ -14,7 +14,7 @@ CMS_compress - create a CMS CompressedData structure CMS_compress() creates and returns a CMS CompressedData structure. B is the compression algorithm to use or B to use the default -algorithms (zlib compression). B is the content to be compressed. +algorithm (zlib compression). B is the content to be compressed. B is an optional set of flags. =head1 NOTES @@ -22,7 +22,7 @@ B is an optional set of flags. 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 flag is set MIME headers for type B are @@ -53,6 +53,9 @@ PEM_write_bio_CMS_stream() finalize the structure. Alternatively finalization can be performed by obtaining the streaming ASN1 B 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