Clarify docs.
authorJeffrey Walton <noloader@gmail.com>
Fri, 27 Jun 2014 15:33:06 +0000 (16:33 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 27 Jun 2014 15:39:39 +0000 (16:39 +0100)
Document that the certificate passed to SSL_CTX_add_extra_chain_cert()
should not be freed by the application.

PR#3409
(cherry picked from commit 0535c2d67ca2d684087ef90be35d5fb207aab227)

doc/ssl/SSL_CTX_add_extra_chain_cert.pod

index 11b3b4bbe332f6f562c7a54c2b445e0516b2a43e..8e832a57eaace848a55bf98cd308586ff4f7a719 100644 (file)
@@ -24,6 +24,8 @@ 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