Hi all,

I am writing a ENGINE interface for our crypto library
and am I seeing some memory leaks after running the
test program (I have compiled with a debug configuration).

The leaks (detailed below) appear to because my DSO is
not being unloaded.  This is likely due to my engine
finish function not being called.  Is there something I
need to do or is this a problem with the current
implementation?

I am using openssl-engine-0.9.6

The specific messages are:

[17:47:17]  1520 file=stack.c, line=122, thread=2241, number=20,
address=00150790
[17:47:17]  1519 file=dso_lib.c, line=103, thread=2241, number=24,
address=00150770
[17:47:17]  1521 file=stack.c, line=124, thread=2241, number=16,
address=00170548
[17:47:17]  1523 file=stack.c, line=124, thread=2241, number=16,
address=00170590
[17:47:17]  1522 file=stack.c, line=122, thread=2241, number=20,
address=001507B0

I am running 

openssl speed -engine myengine rsa

A second an unrelated problem I have is that if an application
forks some of the context information that is saved by the
engine is no longer valid.  Is there some standard approach
for solving this type of problem with OpenSSL?  Here the
application is Apache with mod-ssl.

cheers,
bernard.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to