blob: adef98ec6a5796323c32ffca1574dace46978fe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
.\"
.\" $OpenBSD: SSL_get_rbio.3,v 1.1 2016/11/05 15:32:20 schwarze Exp $
.\"
.Dd $Mdocdate: November 5 2016 $
.Dt SSL_GET_RBIO 3
.Os
.Sh NAME
.Nm SSL_get_rbio ,
.Nm SSL_get_wbio
.Nd get BIO linked to an SSL object
.Sh SYNOPSIS
.In openssl/ssl.h
.Ft BIO *
.Fn SSL_get_rbio "SSL *ssl"
.Ft BIO *
.Fn SSL_get_wbio "SSL *ssl"
.Sh DESCRIPTION
.Fn SSL_get_rbio
and
.Fn SSL_get_wbio
return pointers to the
.Vt BIO Ns s
for the read or the write channel, which can be different.
The reference count of the
.Vt BIO
is not incremented.
.Sh RETURN VALUES
The following return values can occur:
.Bl -tag -width Ds
.It Dv NULL
No
.Vt BIO
was connected to the
.Vt SSL
object.
.It Any other pointer
The
.Vt BIO
linked to
.Fa ssl .
.El
.Sh SEE ALSO
.Xr bio 3 ,
.Xr ssl 3 ,
.Xr SSL_set_bio 3
|