On Mon, Oct 24, 2005 at 03:45:47PM -0400, Martin Del Vecchio wrote:

> I think SSL_free() also frees the BIO.  I spent a day tracking down a
> similar problem.
>  

>From the Postfix source-code:

    /*
     * Free the SSL structure and the BIOs. Warning: the internal_bio is
     * connected to the SSL structure and is automatically freed with it. Do
     * not free it again (core dump)!! Only free the network_bio.
     */
    if (TLScontext->con != 0)
        SSL_free(TLScontext->con);
    if (TLScontext->network_bio)
        BIO_free(TLScontext->network_bio);

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to