1SSL_set_bio(3)                      OpenSSL                     SSL_set_bio(3)
2
3
4

NAME

6       SSL_set_bio - connect the SSL object with a BIO
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
12

DESCRIPTION

14       SSL_set_bio() connects the BIOs rbio and wbio for the read and write
15       operations of the TLS/SSL (encrypted) side of ssl.
16
17       The SSL engine inherits the behaviour of rbio and wbio, respectively.
18       If a BIO is non-blocking, the ssl will also have non-blocking
19       behaviour.
20
21       If there was already a BIO connected to ssl, BIO_free() will be called
22       (for both the reading and writing side, if different).
23

RETURN VALUES

25       SSL_set_bio() cannot fail.
26

SEE ALSO

28       SSL_get_rbio(3), SSL_connect(3), SSL_accept(3), SSL_shutdown(3),
29       ssl(3), bio(3)
30
31
32
331.0.2o                            2018-03-27                    SSL_set_bio(3)
Impressum