Mark Butcher via RT wrote:
Hi All
I did some checks with the RSA routines and had the feeling that after
deleting the Public key with the routine void deleteRSA(RSA *rsa) not
all heap was being cleaned up.
deleteRSA is not a OpenSSL function
More detailed checking seems to reveal the following problem with the
routine:
rsa->n is cleaned up but leaves a block of memory in rsa->n->d (0x48
bytes in my test)
rsa->e is cleaned up but leaves a block of memory in rsa->e-> d (0x0c
bytes in my test)
rsa->_method_mod_n is cleaned up but leaves a block of memory in
rsa->_method_mod_n->RR.d (0x88 bytes in my test)
rsa->_method_mod_n is cleaned up but leaves a block of memory in
rsa->_method_mod_n->N.d (0x44 bytes in my test)
It is possible (depending on define settings) that other sub structures
are also affected.
Hope this helps.
could you provide us a sample code ?
Cheers,
Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]