On Fri, Mar 25, 2011, Michal Stawinski wrote:

> Hi Steve,
> On 25 March 2011 23:06, Dr. Stephen Henson <st...@openssl.org> wrote:
> > Have you tried clearing the close flag on the BIO with something like:
> >
> > BIO_set_close(bio, 0)
> No, I haven't tried it yet, but it seems this is what I've been
> looking for- clean & neat.
> 
> I'd stumlbed over this one some time ago. When my problems started, It
> was giving me a strange itch in a head, wanting to get out, but sadly
> it did not occur to me.
> 

Just to add that technically it should be:

BIO_set_close(bio, BIO_NOCLOSE);

BIO_NOCLOSE just happens to be zero.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to