Getting the retry reason for a "failed" BIO_write/BIO_read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Oct 10, 2016, at 2:20 AM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> 
>            BIO *inter_bio;               // intermediate-bio, have no idea what it really is used for.

The internal BIO from BIO_new_bio_pair must be attached to the SSL
handle via:

    SSL_set_bio(ssl, internal_bio, internal_bio);

When SSL writes ciphertext to the internal bio, you can read that via
the network_bio.  When you write to the network_bio, SSL can read the
data via the internal_bio.

-- 
	Viktor.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux