diff options
author | Ruslan Baratov <x@ruslo.dev> | 2024-05-12 16:33:59 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-15 12:23:04 +0200 |
commit | 13f48c129fec9c43171cf6a27877df7bdd653468 (patch) | |
tree | 4d4166ee04ed7e2d61d70c1433fba0ff955cde93 /doc | |
parent | e5581bbbbe95570fb11ae37c11b97d8d475c86d4 (diff) |
[Docs] 'SSL_CTX_set_cert_store' ownership of 'store'
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24375)
(cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/SSL_CTX_set_cert_store.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/man3/SSL_CTX_set_cert_store.pod b/doc/man3/SSL_CTX_set_cert_store.pod index f1fef9e649..792d7c3faa 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<ctx> to/with B<store>. If another X509_STORE object is currently -set in B<ctx>, it will be X509_STORE_free()ed. +set in B<ctx>, it will be X509_STORE_free()ed. SSL_CTX_set_cert_store() will +take ownership of the B<store>, i.e., the call C<X509_STORE_free(store)> is no +longer needed. SSL_CTX_set1_cert_store() sets/replaces the certificate verification storage of B<ctx> to/with B<store>. The B<store>'s reference count is incremented. |