Hi, 

> the following code executes once, and does fine. Calling the 
> function a
> second time gives a segfault during the call marked by "-->"

You may have inadvertantly corrupted the heap the first time
your code is executed.  I suggest you put several assert statements
to ensure that memory outside of that you allocated is not overwritten. 

Regards,
Mark
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to