> I am using a BIO pair under SSL and a BIO above SSL to handle
> asynchronous traffic that is delivered to me on a
> non-standard system.

> It works very well, except when I try to free the SSL sessions
> at the end of a connection. I'm calling BIO_free_all() on the BIO
> that wraps the SSL session, and expect it to free the SSL session
> and underlying BIOs.

I know the following works:

BIO_free(io_bio);
BIO_free(ap_bio);
SSL_free(ssl);

Where 'io_bio' is the BIO you read and write encrypted data to/from,
'ap_bio' is the BIO you read and write application data to/from and 'ssl' is
the SSL object.

I think the problem is that BIO_free_all only frees BIOs, and the SSL
session is not a BIO.

DS


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

Reply via email to