SSL_SET_BIO(3)
π SSL_SET_BIO β a libssl Library Functions Manual moment, bestie π
okay so this is the Library Functions Manual page for SSL_set_bio, brought to you by libssl, and itβs literally all about connecting an SSL object to a BIO. iconic. π
β¨ NAME β¨
SSL_set_bio β connect the SSL object with a BIO
π SYNOPSIS π
library βlibsslβ libcrypto #include <openssl/ssl.h>
void
SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
π¦ DESCRIPTION π¦
SSL_set_bio() connects the BIOs rbio and wbio for the read and write operations of the TLS/SSL (encrypted) side of ssl. so rbio is handling the read vibe and wbio is handling the write vibe, no cap. π«Ά
The SSL engine inherits the behaviour of rbio and wbio, respectively. so if a BIO is non-blocking, the ssl will also have non-blocking behaviour. itβs giving βyou are who you surround yourself withβ but for I/O. π
heads up bestie: if there was already aBIOconnected tossl,BIO_free(3)will be called (for both the reading and writing side, if different). so yeah, the old BIO gets cleaned up. donβt forget it. π
π SEE ALSO π
π HISTORY π
SSL_set_bio() first appeared in SSLeay 0.6.0 and has been available since OpenBSD 2.4. a whole historical moment, fr fr. β
thatβs the whole page, bestie β footer says Debian, June 8, 2025, SSL_SET_BIO(3). mwah πβ¨
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2000 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms