SSL_GET_RBIO(3ossl)
π SSL_GET_RBIO π
okay bestie, welcome to the OpenSSL 3ossl manual page for SSL_get_rbio and SSL_get_wbio β yes both of them, they're a package deal, and they are lowkey the cutest little getter functions you'll ever meet. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
SSL_get_rbio, SSL_get_wbio β get the BIO linked to an SSL object π¦
πΈ SYNOPSIS πΈ
#include <openssl/ssl.h>
BIO *SSL_get_rbio(SSL *ssl);
BIO *SSL_get_wbio(SSL *ssl);
π DESCRIPTION π
so here's the vibe. SSL_get_rbio() and SSL_get_wbio() hand you back pointers to the BIOs for the read channel and the write channel respectively. and listen β those two can literally be different BIOs. like, not the same one. they're allowed to be separate. main character energy each, no sharing required. π
π the important bit: the reference count of the BIO is not incremented. so do not go freeing it all willy-nilly thinking you own it, bestie. you do not own it. it's not yours. it's just borrowed. π
π RETURN VALUES π
here's what you might get back, and what it means:
NULLβ no BIO was connected to the SSL object. it's giving empty. it's giving nothing attached. π- any other pointer β that's the BIO linked to
ssl. slay. β¨
π SEE ALSO π
π COPYRIGHT π
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>.
and that's the whole page, bestie, no notes, ate and left no crumbs π«Ά this was OpenSSL 3.5.9, dated 2026-09-29 β periodt. πβ¨
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms