From: Ruslan Baratov Date: Sun, 12 May 2024 08:33:59 +0000 (+0800) Subject: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store' X-Git-Tag: openssl-3.1.6~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af6f4aa8d69af2626fc288b29336a2cc6adb609b;p=thirdparty%2Fopenssl.git [Docs] 'SSL_CTX_set_cert_store' ownership of 'store' Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24375) (cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1) --- diff --git a/doc/man3/SSL_CTX_set_cert_store.pod b/doc/man3/SSL_CTX_set_cert_store.pod index f1fef9e649c..792d7c3faab 100644 --- a/doc/man3/SSL_CTX_set_cert_store.pod +++ b/doc/man3/SSL_CTX_set_cert_store.pod @@ -16,7 +16,9 @@ SSL_CTX_set_cert_store, SSL_CTX_set1_cert_store, SSL_CTX_get_cert_store - manipu SSL_CTX_set_cert_store() sets/replaces the certificate verification storage of B to/with B. If another X509_STORE object is currently -set in B, it will be X509_STORE_free()ed. +set in B, it will be X509_STORE_free()ed. SSL_CTX_set_cert_store() will +take ownership of the B, i.e., the call C is no +longer needed. SSL_CTX_set1_cert_store() sets/replaces the certificate verification storage of B to/with B. The B's reference count is incremented.