Prime number returns NULL ( BN_generate_prime)

2002-06-01 Thread Praveen Dulam
Hi I am testng my application on Vxworks. I am callingrsa = RSA_generate_key(512, RSA_F4, NULL, NULL); this is barfing. When I debugged I could see the rsa-p=BN_generate_prime(NULL,bitsp,0,NULL,NULL,callback,cb_arg); is resturning NULL. Can some one let me know if I miss some thing ...

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-01 Thread Lutz Jaenicke
On Fri, May 31, 2002 at 06:59:05PM -0700, Praveen Dulam wrote: Hi I am testng my application on Vxworks. I am calling rsa = RSA_generate_key(512, RSA_F4, NULL, NULL); this is barfing. When I debugged I could see the rsa-p=BN_generate_prime(NULL,bitsp,0,NULL,NULL,callback,cb_arg); is

getpid()

2002-06-01 Thread Ben Laurie
Long ago, in a galaxy far far away, Solar Designer asked wtf openssl md5 calls getpid() a zillion times. The answer is memory debugging, which checks the thread id on every allocation/free. For reasons I haven't entirely fathomed, unless you are on Windows, what's returned is the PID. Whether

Re: [openssl.org #66] Possible bug in OpenSSL-0.9.6d/crypto/asn1/a_utctm.c

2002-06-01 Thread Ben Laurie
[EMAIL PROTECTED] via RT wrote: I believe that I have found a bug in the above file and would like for someone else to santiy check it. At line 290 in a_utctm.c, a separate code block is being used if the library needs to call gmtime_r() to get the time structure. The value is stored in a

pl. help

2002-06-01 Thread mishra
Hi Can any body pl tell why i am getting an error "name does not match", when i am executing the command-- openssl ca -revoke clientcert.pem.Here i am trying to revokea client certificate, so that i can blockthat client from using the server. Regards, mishra

Re: getpid()

2002-06-01 Thread Rich Salz
On linux, getpid() is different for different threads. /r$ __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager

Re: getpid()

2002-06-01 Thread Ben Laurie
Rich Salz wrote: On linux, getpid() is different for different threads. /r$ Well... on FreeBSD (and Solaris) it isn't... Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ There is no limit to what a man can do or how far he can go if he doesn't mind