SSL_GET_RBIO(3ssl) OpenSSL SSL_GET_RBIO(3ssl)

SSL_get_rbio, SSL_get_wbio - 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.

The following return values can occur:

No BIO was connected to the SSL object
The BIO linked to ssl.

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

Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

2024-10-23 3.4.0