SSL_GET_RBIO(3ossl)
π SSL_GET_RBIO(3ossl) β get BIO linked to an SSL object
okay bestie so this is an OpenSSL manpage, the 3ossl one, and it's genuinely so short you could read it in the time it takes your iced latte to arrive π§ like it's not deep lore, it's just "hey where's my BIO at" and honestly? iconic for that.
β¨ NAME β¨
SSL_get_rbio, SSL_get_wbio β get BIO linked to an SSL object π
πΈ SYNOPSIS πΈ
#include <openssl/ssl.h>
BIO *SSL_get_rbio(SSL *ssl);
BIO *SSL_get_wbio(SSL *ssl);
π¦ DESCRIPTION π¦
okay so SSL_get_rbio() and SSL_get_wbio() hand you back pointers to the BIOs for the read channel and the write channel respectively π and here's the tea: those two can literally be different BIOs. not always, but they can be. main character duality fr fr β¨
and the really important bit, the one you do NOT wanna skip past β the reference count of the BIO is not incremented. ngl that's the whole ballgame, because it means you don't own a new reference, so don't go freeing it like you do π
π RETURN VALUES π
the following return values can occur:
NULLβ no BIO was connected to the SSL object π like nothing's there, the channel is empty, vibe check failed- Any other pointer β the BIO linked to ssl β¨ that's your guy, that's the pointer you wanted
π SEE ALSO π
SSL_set_bio(3)β the one that actually sets the BIO, iykykssl(7)bio(7)
π 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>.
aaaand that's the whole page, no cap π this was OpenSSL 3.5.0, dated 2026-09-25, SSL_GET_RBIO(3ossl) β short, sweet, and lowkey perfect. mwah π
π
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms