enssl-users@openssl.org
Subject: Re: Memory Leak Creating a CSR
On Sat, May 30, 2009, Paul Suhler wrote:
> Hi.
>
> Using OpenSSL 0.9.8i, I'm getting a memory leak when I create a CSR.
> My process is taken more-or-less from the Viega, et al. book:
>
No idea what that versio
On Sat, May 30, 2009, Paul Suhler wrote:
> Hi.
>
> Using OpenSSL 0.9.8i, I'm getting a memory leak when I create a CSR. My
> process is taken more-or-less from the Viega, et al. book:
>
No idea what that version is but the one in demos/x509/mkreq.c doesn't leak
memory.
Steve.
--
Dr Stephen N.
Hi.
Using OpenSSL 0.9.8i, I'm getting a memory leak when I create a CSR. My
process is taken more-or-less from the Viega, et al. book:
Initial:
X509_REQ_new() to get the request structure
OPENSSL_malloc(1) to add a byte to the request for the version
RSA Key:
RSA_new() for an RSA structure