summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-08-07 21:04:42 +0000
committerjkim <jkim@FreeBSD.org>2014-08-07 21:04:42 +0000
commit2bfd7007417a2cd7c442bf1162e609303f217744 (patch)
tree2ead8295addf0f92cbe4bf28f39105c909a6702f /crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod
parent95576e5070819ac5bc80e16b237dc5a0061ed9a4 (diff)
downloadFreeBSD-src-2bfd7007417a2cd7c442bf1162e609303f217744.zip
FreeBSD-src-2bfd7007417a2cd7c442bf1162e609303f217744.tar.gz
MFC: r269682
Merge OpenSSL 1.0.1i.
Diffstat (limited to 'crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod')
-rw-r--r--crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod b/crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod
index ee28f5c..5955ee1 100644
--- a/crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod
+++ b/crypto/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod
@@ -24,6 +24,16 @@ the library will try to complete the chain from the available CA
certificates in the trusted CA storage, see
L<SSL_CTX_load_verify_locations(3)|SSL_CTX_load_verify_locations(3)>.
+The B<x509> certificate provided to SSL_CTX_add_extra_chain_cert() will be freed by the library when the B<SSL_CTX> is destroyed. An application B<should not> free the B<x509> object.
+
+=head1 RESTRICTIONS
+
+Only one set of extra chain certificates can be specified per SSL_CTX
+structure. Different chains for different certificates (for example if both
+RSA and DSA certificates are specified by the same server) or different SSL
+structures with the same parent SSL_CTX cannot be specified using this
+function.
+
=head1 RETURN VALUES
SSL_CTX_add_extra_chain_cert() returns 1 on success. Check out the
OpenPOWER on IntegriCloud