On Wed, Jun 1, 2011 at 10:22 PM, Victor Duchovni <
victor.ducho...@morganstanley.com> wrote:

> On Tue, May 31, 2011 at 09:05:29AM -0400, Jeff Saremi wrote:
>
> > I'd like to know the feasibility or complexity around using my own
> > socket code with OpenSSL's ssl code. If I provide OpenSSL with a pair of
> > BIOs to read and write would that be sufficient? How tightly integrated
> > the code is with bio_connect and bio_socket? thanks
> > jeff
>
> man BIO_new_bio_pair
>
> Look at the example.
>
>
As Victor pointed that you can use BIO pair to handle data transmission and
separate data transmission procedure from SSL handshake and encrypt/decrypt
procedure.
Using BIO pair, the SSL structure only handle the data in SSL Record layer
but not any lower layer.

--
>        Viktor.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>

Reply via email to