On Fri, Nov 21, 2014 at 02:26:45PM +0000, Barbe, Charles wrote:

> static void
> openSslShutdown ()
> {

You could try adding:

    ENGINE_cleanup();

if that helps.

>       CONF_modules_free();
>       ERR_remove_state(0);
>       CONF_modules_unload(1);
>       ERR_free_strings();
>       EVP_cleanup();
>       CRYPTO_cleanup_all_ex_data();
> 
>       if (opensslLocks != NULL)
>     {
>         for(int i = 0; i < CRYPTO_num_locks(); i++)
>         {
>             PAL_mutexDestroy (opensslLocks[i]);
>         }
> 
>         IST_FREE (opensslLocks);
>     }
> }

You may need to patch the library to add deallocation code for any
one-time allocations not handled by the above.

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

Reply via email to