Re: using the bn library tips, faq or howto anywhere

2004-09-05 Thread Tan Eng Ten
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

Re: using the bn library tips, faq or howto anywhere

2004-09-05 Thread b l
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

Re: Query on CRL distribution point

2004-09-05 Thread Dr. Stephen Henson
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

Re: using the bn library tips, faq or howto anywhere

2004-09-05 Thread Nils Larsch
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

using the bn library tips, faq or howto anywhere

2004-09-05 Thread b l
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

Query on CRL distribution point

2004-09-05 Thread pijush koley
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

A problem with the installation (Unable to load private key)

2004-09-05 Thread Nabil Azahaf
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