logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SSL_get_rbio, SSL_get_wbio - get BIO linked to an SSL object

Description

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.

Name

       SSL_get_rbio, SSL_get_wbio - get BIO linked to an SSL object

Return Values

       The following return values can occur:

       NULL
           No BIO was connected to the SSL object

       Any other pointer
           The BIO linked to ssl.

See Also

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

Synopsis

        #include <openssl/ssl.h>

        BIO *SSL_get_rbio(SSL *ssl);
        BIO *SSL_get_wbio(SSL *ssl);

See Also