From: schwarze Date: Mon, 12 Feb 2018 16:33:07 +0000 (+0000) Subject: Add the missing RETURN VALUES section; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fe84aa8007e5abbaadf6f5f84cee3efe20a5e40b;p=openbsd Add the missing RETURN VALUES section; from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800. --- diff --git a/lib/libcrypto/man/BIO_get_ex_new_index.3 b/lib/libcrypto/man/BIO_get_ex_new_index.3 index b4b9fa082e4..d6ef644ee46 100644 --- a/lib/libcrypto/man/BIO_get_ex_new_index.3 +++ b/lib/libcrypto/man/BIO_get_ex_new_index.3 @@ -1,5 +1,6 @@ -.\" $OpenBSD: BIO_get_ex_new_index.3,v 1.3 2017/01/06 20:35:23 schwarze Exp $ -.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" $OpenBSD: BIO_get_ex_new_index.3,v 1.4 2018/02/12 16:33:07 schwarze Exp $ +.\" full merge up to: OpenSSL a970b14f Jul 31 18:58:40 2017 -0400 +.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" .\" This file was written by Rich Salz . .\" Copyright (c) 2015, 2016 The OpenSSL Project. All rights reserved. @@ -48,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 6 2017 $ +.Dd $Mdocdate: February 12 2018 $ .Dt BIO_GET_EX_NEW_INDEX 3 .Os .Sh NAME @@ -119,6 +120,17 @@ is a function that calls with an offset into the opaque exdata part of the .Vt TYPE object. +.Sh RETURN VALUES +.Fn TYPE_get_new_ex_index +returns a new index on success or \-1 on error. +.Pp +.Fn TYPE_set_ex_data +returns 1 on success or 0 on error. +.Pp +.Fn TYPE_get_ex_data +returns the application data or +.Dv NULL +if an error occurred. .Sh SEE ALSO .Xr CRYPTO_get_ex_new_index 3 , .Xr RSA_get_ex_new_index 3