Update OSSL_STORE_attach() documentation to indicate it increases the ref_count of...
authorShane Lontis <shane.lontis@oracle.com>
Wed, 28 Apr 2021 07:51:15 +0000 (17:51 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Fri, 30 Apr 2021 06:04:53 +0000 (16:04 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15058)

doc/man3/OSSL_STORE_attach.pod

index 87910e434e0a65bd9ea117ee4f4f7989f8b8bc7f..9ad53af81a8119d71e89e83d5332059a6552fceb 100644 (file)
@@ -18,7 +18,8 @@ OSSL_STORE_attach - Functions to read objects from a BIO
 
 OSSL_STORE_attach() works like L<OSSL_STORE_open(3)>, except it takes a B<BIO>
 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
-should be used to process the data.
+should be used to process the data. The reference count of the B<BIO> object
+is increased by 1 if the call is successful.
 
 =head1 RETURN VALUES
 
@@ -35,7 +36,7 @@ OSSL_STORE_attach() was added in OpenSSL 3.0.
 
 =head1 COPYRIGHT
 
-Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
 
 Licensed under the Apache License 2.0 (the "License").  You may not use
 this file except in compliance with the License.  You can obtain a copy