Re: OpenSSL API and Memory Management

2012-05-22 Thread Curt Sampson
On 2012-05-23 13:26 +0900 (Wed), Curt Sampson wrote: > The application I'm concerned with Oh, one more thing I forgot about the application: we're using our own means of certificate and CRL distrubution and storage, so in generally we have DER representations of this stuff in memory, rather t

OpenSSL API and Memory Management

2012-05-22 Thread Curt Sampson
Is there some document around that discusses best practices for dealing with memory management for OpenSSL objects? Most or all of the examples in _Network Security with OpenSSL_ seem to rely on the program ending to clean up any allocated objects left lying around, which of course is not really an