Hello!

I use openssl-0.9.8 dev. There is a memory leak on verification of
signed messages. This leak exist in snapshots 20050404 and 20050511.
I've tested it using Debian Linux.

I sign a file in default format with

export OPENSSL_DEBUG_MEMORY=on
LD_LIBRARY_PATH=. apps/openssl smime -sign -inkey key.pem -signer cert.pem -out file.sm -in file

then I verify with

LD_LIBRARY_PATH=. apps/openssl smime -verify -in file.sm -noverify

I get a report about some memory leaks.

Attached patch fix this leaks.

Thank you.

--
SY, Dmitry Belyavsky (ICQ UIN 11116575)
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org