Hmm, i think that depends on which BN_ functions. In your example,
BN_bin2bn() returns a new BIGNUM object, so you do not need to BN_new().
b l wrote:
Hi,
If i reuse a BIGNUM created with BN_new() without
freeing it first will i cause a memory leak?
does the BIGNUM dynamically allocate memory eac
thanks Nils,
brian
--- Nils Larsch <[EMAIL PROTECTED]> wrote:
> b l wrote:
> > Hi,
> >
> > If i reuse a BIGNUM created with BN_new() without
> > freeing it first will i cause a memory leak?
>
> no
>
> > does the BIGNUM dynamically allocate memory each
> time
> > it is used by certain functio
On Sun, Sep 05, 2004, pijush koley wrote:
> Hi!
> I want to setup a test CA using OpenSSL. So I configured openssl.cnf file according
> to my environment. Then I executed following command
>
> CA.pl -newca
>
> This gave an error and it indicated that following line produced an error.
>
> cr
b l wrote:
Hi,
If i reuse a BIGNUM created with BN_new() without
freeing it first will i cause a memory leak?
no
does the BIGNUM dynamically allocate memory each time
it is used by certain functions?
yes (but only if it's required)
for example
i create BIGNUM * tempBN=BN_new();
i might make a call
Hi,
If i reuse a BIGNUM created with BN_new() without
freeing it first will i cause a memory leak?
does the BIGNUM dynamically allocate memory each time
it is used by certain functions?
for example
i create BIGNUM * tempBN=BN_new();
i might make a call to
BN_bin2bn (char1,len,tempBN);
i might
Hi!
I want to setup a test CA using OpenSSL. So I configured openssl.cnf file according to my environment. Then I executed following command
CA.pl -newca
This gave an error and it indicated that following line produced an error.
crlDistributionPoints = URI:ldap://:/CRLObjID=CRLPoint,o=domain
umask 77 ; \
/usr/bin/openssl req -new -key /etc/httpd/conf/ssl.key/server.key -out
/etc/httpd/conf/ssl.csr/server.csr
unable to load Private Key
14854:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:632:Expecting: ANY PRIVATE KEY
make: *** [/etc/httpd/conf/ssl.csr/server.csr] Erro