diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-04-12 01:49:03 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-04-12 01:49:03 +0200 |
commit | a12a6b99629e29d6f8f2e6731e29627a89839715 (patch) | |
tree | e20f9e8c849b91ee0daf09496b38e4544b2885d9 | |
parent | Fix prototype for CMS_decrypt(), don't free up detached content. (diff) | |
download | openssl-a12a6b99629e29d6f8f2e6731e29627a89839715.tar.xz openssl-a12a6b99629e29d6f8f2e6731e29627a89839715.zip |
Correct argument order for CMS_decrypt() in docs.
-rw-r--r-- | doc/crypto/CMS_decrypt.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/CMS_decrypt.pod b/doc/crypto/CMS_decrypt.pod index cacab3819c..d857e4f93f 100644 --- a/doc/crypto/CMS_decrypt.pod +++ b/doc/crypto/CMS_decrypt.pod @@ -8,13 +8,13 @@ #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 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 -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. The B<dcont> parameter is used in the rare case where the encrypted content |