From: Matt Caswell Date: Thu, 26 Apr 2018 13:05:40 +0000 (+0100) Subject: Update the *use_certificate* docs X-Git-Tag: OpenSSL_1_0_2p~73 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aadcf069828431819970421749da64b24b559490;p=oweals%2Fopenssl.git Update the *use_certificate* docs Note that calling the *use_certificate* functions will replace any existing certificate of the same type. The same thing applies for private keys. Fixes #2147 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6093) (cherry picked from commit db747425b0caae12e73c680799b57bdfcc72dbb4) --- diff --git a/doc/ssl/SSL_CTX_use_certificate.pod b/doc/ssl/SSL_CTX_use_certificate.pod index 80321b8580..800423e7de 100644 --- a/doc/ssl/SSL_CTX_use_certificate.pod +++ b/doc/ssl/SSL_CTX_use_certificate.pod @@ -142,6 +142,13 @@ L. of view, it however does not make sense as the data in the certificate is considered public anyway.) +All of the functions to set a new certificate will replace any existing +certificate of the same type that has already been set. Similarly all of the +functions to set a new private key will replace any private key that has already +been set. Applications should call L or +L as appropriate after loading a new certificate and +private key to confirm that the certificate and key match. + =head1 RETURN VALUES On success, the functions return 1.