HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 2: HP SSL for OpenVMS > SSL Application Programming Interface (API) Reference

SSL_get_rbio

  Table of Contents

  Index

NAME

SSL_get_rbio — 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

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.

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(3) , bio(3)