Carl-Henrik Tano <[EMAIL PROTECTED]>:

> I´m using openssl 093a and have some problems when I resusing a ctx in
> my serverapplication.
> My server initiates one ctx when it starts and for every client
> connection it creates a new ssl sesson with SSL_new(ctx).
> Sometimes I get core dump in  SSL_new when ssl_cert_dup is run. It stops
> at  realfree.

Are all connections handled in the same thread (e.g. because they
never overlap), or do you use multi-threading?  If you use
multi-threading, do you have a locking callback?

I assume that "realfree" is what free ends up calling on your system.
ssl_cert_dup frees memory only if Malloc or DHparams_dup failed.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to