diff options
author | schwarze <> | 2018-02-12 16:33:07 +0000 |
---|---|---|
committer | schwarze <> | 2018-02-12 16:33:07 +0000 |
commit | 58dd7db5f1b6296b8fe0df3d05b09f3fa016778a (patch) | |
tree | 35f35be03520f5a01fede9a32e58d77d8c4f1f85 /src | |
parent | 0b3f69f36c5ed152241a0efe7df9bad5e4c407d3 (diff) | |
download | openbsd-58dd7db5f1b6296b8fe0df3d05b09f3fa016778a.tar.gz openbsd-58dd7db5f1b6296b8fe0df3d05b09f3fa016778a.tar.bz2 openbsd-58dd7db5f1b6296b8fe0df3d05b09f3fa016778a.zip |
Add the missing RETURN VALUES section;
from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/BIO_get_ex_new_index.3 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_get_ex_new_index.3 b/src/lib/libcrypto/man/BIO_get_ex_new_index.3 index b4b9fa082e..d6ef644ee4 100644 --- a/src/lib/libcrypto/man/BIO_get_ex_new_index.3 +++ b/src/lib/libcrypto/man/BIO_get_ex_new_index.3 | |||
@@ -1,5 +1,6 @@ | |||
1 | .\" $OpenBSD: BIO_get_ex_new_index.3,v 1.3 2017/01/06 20:35:23 schwarze Exp $ | 1 | .\" $OpenBSD: BIO_get_ex_new_index.3,v 1.4 2018/02/12 16:33:07 schwarze Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" full merge up to: OpenSSL a970b14f Jul 31 18:58:40 2017 -0400 |
3 | .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 | ||
3 | .\" | 4 | .\" |
4 | .\" This file was written by Rich Salz <rsalz@akamai.com>. | 5 | .\" This file was written by Rich Salz <rsalz@akamai.com>. |
5 | .\" Copyright (c) 2015, 2016 The OpenSSL Project. All rights reserved. | 6 | .\" Copyright (c) 2015, 2016 The OpenSSL Project. All rights reserved. |
@@ -48,7 +49,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 51 | .\" |
51 | .Dd $Mdocdate: January 6 2017 $ | 52 | .Dd $Mdocdate: February 12 2018 $ |
52 | .Dt BIO_GET_EX_NEW_INDEX 3 | 53 | .Dt BIO_GET_EX_NEW_INDEX 3 |
53 | .Os | 54 | .Os |
54 | .Sh NAME | 55 | .Sh NAME |
@@ -119,6 +120,17 @@ is a function that calls | |||
119 | with an offset into the opaque exdata part of the | 120 | with an offset into the opaque exdata part of the |
120 | .Vt TYPE | 121 | .Vt TYPE |
121 | object. | 122 | object. |
123 | .Sh RETURN VALUES | ||
124 | .Fn TYPE_get_new_ex_index | ||
125 | returns a new index on success or \-1 on error. | ||
126 | .Pp | ||
127 | .Fn TYPE_set_ex_data | ||
128 | returns 1 on success or 0 on error. | ||
129 | .Pp | ||
130 | .Fn TYPE_get_ex_data | ||
131 | returns the application data or | ||
132 | .Dv NULL | ||
133 | if an error occurred. | ||
122 | .Sh SEE ALSO | 134 | .Sh SEE ALSO |
123 | .Xr CRYPTO_get_ex_new_index 3 , | 135 | .Xr CRYPTO_get_ex_new_index 3 , |
124 | .Xr RSA_get_ex_new_index 3 | 136 | .Xr RSA_get_ex_new_index 3 |