Hello! On Tue, 18 Jan 2005, Dmitry Belyavsky wrote:
> > That's because of the call to ENGINE_unregister_ciphers() in > > cce_destroy(). Can I suggest you take a look at, for example, > > demos/engines/rsaref/ for a working example to look at? > > Unfortunately that's not only because of ENGINE_unregister_ciphers(). I > took a look a demos/engines/rsaref/. My engine doesn't use existing NIDs > but registers custom with OBJ_create. So when I comment out line 81, > nothing but memory leaks happens. When I don't comment it, I get a > SEGFAULT again. Should I call OBJ_cleanup() from engine destroy function > and how do I avoid memory leaks if not? > > I use 20050117 snapshot. "Engine" code is attached, engine is used via > "openssl engine minimum" command line. I've forgotten to mention that SEGFAULT happens only when openssl is configured as debug version (with libefence). Memory leaks occurs both in release and debug build. -- SY, Dmitry Belyavsky (ICQ UIN 11116575) ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]