summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-05-11 21:36:18 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-05-11 21:36:18 +0000
commit8ef6547438f12ad5c4cc88a8caf1d84e7c39015a (patch)
tree2a20173fb2788151e6b197b65ddee87850fd52e2 /lib
parent130cb3cd53be8215bba2f1029ba3a1de2c185c5e (diff)
import 0.9.7b (without idea and rc5)
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/doc/crypto/PKCS12_parse.pod31
-rw-r--r--lib/libssl/src/doc/crypto/SMIME_read_PKCS7.pod4
2 files changed, 13 insertions, 22 deletions
diff --git a/lib/libssl/src/doc/crypto/PKCS12_parse.pod b/lib/libssl/src/doc/crypto/PKCS12_parse.pod
index c54cf2ad613..51344f883a9 100644
--- a/lib/libssl/src/doc/crypto/PKCS12_parse.pod
+++ b/lib/libssl/src/doc/crypto/PKCS12_parse.pod
@@ -20,31 +20,24 @@ certificate to B<*cert> and any additional certificates to B<*ca>.
=head1 NOTES
-The parameters B<pkey> and B<cert> cannot be B<NULL>. B<ca> can be <NULL> in
-which case additional certificates will be discarded. B<*ca> can also be a
-valid STACK in which case additional certificates are appended to B<*ca>. If
-B<*ca> is B<NULL> a new STACK will be allocated.
+The parameters B<pkey> and B<cert> cannot be B<NULL>. B<ca> can be <NULL>
+in which case additional certificates will be discarded. B<*ca> can also
+be a valid STACK in which case additional certificates are appended to
+B<*ca>. If B<*ca> is B<NULL> a new STACK will be allocated.
-The B<friendlyName> and B<localKeyID> attributes (if present) on each
-certificate will be stored in the B<alias> and B<keyid> attributes of the
-B<X509> structure.
-
-=head1 RETURN VALUES
-
-PKCS12_parse() returns 1 for success and zero if an error occurred.
-
-The error can be obtained from L<ERR_get_error(3)|ERR_get_error(3)>
+The B<friendlyName> and B<localKeyID> attributes (if present) on each certificate
+will be stored in the B<alias> and B<keyid> attributes of the B<X509> structure.
=head1 BUGS
-Only a single private key and corresponding certificate is returned by this
-function. More complex PKCS#12 files with multiple private keys will only
-return the first match.
+Only a single private key and corresponding certificate is returned by this function.
+More complex PKCS#12 files with multiple private keys will only return the first
+match.
-Only B<friendlyName> and B<localKeyID> attributes are currently stored in
-certificates. Other attributes are discarded.
+Only B<friendlyName> and B<localKeyID> attributes are currently stored in certificates.
+Other attributes are discarded.
-Attributes currently cannot be stored in the private key B<EVP_PKEY> structure.
+Attributes currently cannot be store in the private key B<EVP_PKEY> structure.
=head1 SEE ALSO
diff --git a/lib/libssl/src/doc/crypto/SMIME_read_PKCS7.pod b/lib/libssl/src/doc/crypto/SMIME_read_PKCS7.pod
index 9d467159418..ffafa378877 100644
--- a/lib/libssl/src/doc/crypto/SMIME_read_PKCS7.pod
+++ b/lib/libssl/src/doc/crypto/SMIME_read_PKCS7.pod
@@ -6,9 +6,7 @@ SMIME_read_PKCS7 - parse S/MIME message.
=head1 SYNOPSIS
- #include <openssl/pkcs7.h>
-
- PKCS7 *SMIME_read_PKCS7(BIO *in, BIO **bcont);
+PKCS7 *SMIME_read_PKCS7(BIO *in, BIO **bcont);
=head1 DESCRIPTION