SSL_get_rbio.3ossl - Man Page

get BIO linked to an SSL object


 #include <openssl/ssl.h>

 BIO *SSL_get_rbio(SSL *ssl);
 BIO *SSL_get_wbio(SSL *ssl);


SSL_get_rbio() and SSL_get_wbio() return pointers to the BIOs for the read or the write channel, which can be different. The reference count of the BIO is not incremented.

Return Values

The following return values can occur:


No BIO was connected to the SSL object

Any other pointer

The BIO linked to ssl.

See Also

SSL_set_bio(3), ssl(7) , bio(7)

Referenced By


The man page SSL_get_wbio.3ossl(3) is an alias of SSL_get_rbio.3ossl(3).

2023-08-31 3.1.1 OpenSSL