*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> SSL_set_bio (3)              
Title
Content
Arch
Section
 

SSL_SET_BIO(3)

Contents


NAME    [Toc]    [Back]

       SSL_set_bio - connect the SSL object with a BIO

SYNOPSIS    [Toc]    [Back]

        #include <openssl/ssl.h>

        void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);

DESCRIPTION    [Toc]    [Back]

       SSL_set_bio() connects the BIOs rbio and wbio for the read
       and write operations of the TLS/SSL (encrypted) side of
       ssl.

       The SSL engine inherits the behaviour of rbio and wbio,
       respectively.  If a BIO is non-blocking, the ssl will also
       have non-blocking behaviour.

       If there was already a BIO connected to ssl, BIO_free()
       will be called (for both the reading and writing side, if
       different).

RETURN VALUES    [Toc]    [Back]

       SSL_set_bio() cannot fail.

SEE ALSO    [Toc]    [Back]

      
      
       SSL_get_rbio(3), SSL_connect(3), SSL_accept(3),
       SSL_shutdown(3), ssl(3), bio(3)


OpenBSD 3.6                 2000-12-14                          1
[ Back ]
 Similar pages
Name OS Title
SSL_set_wfd OpenBSD connect the SSL object with a file descriptor
SSL_set_fd Tru64 Connect the SSL object with a file descriptor
SSL_set_rfd OpenBSD connect the SSL object with a file descriptor
SSL_set_fd OpenBSD connect the SSL object with a file descriptor
SSL_set_fd NetBSD connect the SSL object with a file descriptor
BIO_get_conn_ip Tru64 Connect BIO
BIO_get_conn_port Tru64 Connect BIO
BIO_set_conn_port Tru64 Connect BIO
BIO_set_conn_int_port Tru64 Connect BIO
BIO_set_nbio Tru64 Connect BIO
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service