提交 a12a6b99 编写于 作者: D Dr. Stephen Henson

Correct argument order for CMS_decrypt() in docs.

上级 852bd350
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
#include <openssl/cms.h> #include <openssl/cms.h>
int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, BIO *data, BIO *dcont, unsigned int flags); int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, BIO *dcont, BIO *out, unsigned int flags);
=head1 DESCRIPTION =head1 DESCRIPTION
CMS_decrypt() extracts and decrypts the content from a CMS EnvelopedData CMS_decrypt() extracts and decrypts the content from a CMS EnvelopedData
structure. B<pkey> is the private key of the recipient, B<cert> is the structure. B<pkey> is the private key of the recipient, B<cert> is the
recipient's certificate, B<data> is a BIO to write the content to and recipient's certificate, B<out> is a BIO to write the content to and
B<flags> is an optional set of flags. B<flags> is an optional set of flags.
The B<dcont> parameter is used in the rare case where the encrypted content The B<dcont> parameter is used in the rare case where the encrypted content
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册