Hi everybody,

I have terrible problems with SSL. Our mail server, which uses OpenSSL, collects 
private
bytes, and I believe, that
I am doing something wrong with the function calls, which free the SSL objects. 
So I am asking, which is the right order to call the dealloc functions. Currently I hav
following order:

                SSL_shutdown(ssl_con_client);
                SSL_free(ssl_con_client);
                SSL_CTX_free(ssl_ctx_client);
                ERR_remove_state(0);
                EVP_cleanup();
                ERR_free_strings();

I am not sure, if something is missing, or which is the right order. Can someone give 
me
an advice?

Many Thanx,
Wolfgang.

PS: I already know, that there exists memory leak search in OpenSSL, but I wanted to 
try
the community first.

++++++++++++++++++++++++++

Wolfgang Marczy,
Development,
Topcall International AG.
Talpagasse 1
A-1230 Vienna

e-mail: [EMAIL PROTECTED]
Tel.no. +43-1-863 53-295
Fax.no. +43-1-863 53-8295
www.topcall.com


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

Reply via email to