summaryrefslogtreecommitdiff
path: root/lib/libcrypto/doc/PKCS7_decrypt.pod
diff options
context:
space:
mode:
authorJim Razmus II <jim@cvs.openbsd.org>2014-05-04 22:26:34 +0000
committerJim Razmus II <jim@cvs.openbsd.org>2014-05-04 22:26:34 +0000
commit09a6c4abd3ba7de86c058e0cf19ac09c7937f8e5 (patch)
treef51c5b476433709d99fe4e2592bdb1535befe030 /lib/libcrypto/doc/PKCS7_decrypt.pod
parenteb2821fe0f0ed7967149ddb352ec49d54e2cf1c9 (diff)
Improve line wrapping for lines exceeding 80 chars.
ok jmc@
Diffstat (limited to 'lib/libcrypto/doc/PKCS7_decrypt.pod')
-rw-r--r--lib/libcrypto/doc/PKCS7_decrypt.pod14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libcrypto/doc/PKCS7_decrypt.pod b/lib/libcrypto/doc/PKCS7_decrypt.pod
index b0ca067b892..78919998ce7 100644
--- a/lib/libcrypto/doc/PKCS7_decrypt.pod
+++ b/lib/libcrypto/doc/PKCS7_decrypt.pod
@@ -6,7 +6,9 @@ PKCS7_decrypt - decrypt content from a PKCS#7 envelopedData structure
=head1 SYNOPSIS
-int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags);
+ #include <openssl/pkcs7.h>
+
+ int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags);
=head1 DESCRIPTION
@@ -20,8 +22,9 @@ B<flags> is an optional set of flags.
OpenSSL_add_all_algorithms() (or equivalent) should be called before using this
function or errors about unknown algorithms will occur.
-Although the recipients certificate is not needed to decrypt the data it is needed
-to locate the appropriate (of possible several) recipients in the PKCS#7 structure.
+Although the recipients certificate is not needed to decrypt the data it is
+needed to locate the appropriate (of possible several) recipients in the PKCS#7
+structure.
The following flags can be passed in the B<flags> parameter.
@@ -36,8 +39,9 @@ The error can be obtained from ERR_get_error(3)
=head1 BUGS
-PKCS7_decrypt() must be passed the correct recipient key and certificate. It would
-be better if it could look up the correct key and certificate from a database.
+PKCS7_decrypt() must be passed the correct recipient key and certificate. It
+would be better if it could look up the correct key and certificate from a
+database.
The lack of single pass processing and need to hold all data in memory as
mentioned in PKCS7_sign() also applies to PKCS7_verify().