-.\" $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 <rsalz@akamai.com>.
.\" Copyright (c) 2015, 2016 The OpenSSL Project. All rights reserved.
.\" 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
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