SSL_get_rbio - get BIO linked to an SSL object
#include <openssl/ssl.h>
BIO *SSL_get_rbio(SSL *ssl); BIO *SSL_get_wbio(SSL *ssl);