Eduardo Calder�n Chao wrote:
> 
> Hi, I have developed the code below, and I have found some problems. I
> call the
> "PKCS12_parse" function and then the "*_free" functions for releasing
> the
> memory that I have allocated before.
> 
> I noticed that the memory is not released in a right way, because if you
> 
> look at the code that I have sent to you, after some iterations, the
> occupied memory is greater each time.
> 
> I would like to know if I am using the functions properly or if there
> could be any bug with them.
> 

Thanks for the report. There is a bug and it is now fixed in the latest
development version.

If you want a work around then pass a dummy 'ca' argument and free it up
afterwards.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

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

Reply via email to