Bill Rebey wrote:
>The test ./dsatest -app2_1 fails.  It has some kind of trouble with the
>PRNG.  Here's the output:

[skipping to a dump of your error stack]

>11816:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
>seeded:md_rand.c:473:You need to read the OpenSSL FAQ,
>http://www.openssl.org/support/faq.html
>11816:error:0A06B003:dsa routines:DSA_sign_setup:BN lib:dsa_ossl.c:214:
>11816:error:0A070003:dsa routines:DSA_do_sign:BN lib:dsa_ossl.c:152:
>11816:error:0D072006:asn1 encoding routines:ASN1_sign:bad get asn1 object
>call:a_sign.c:129:

The PRNG isn't seeded.

>6:09pm cheetah: /home/OpenSSL/openssl-SNAP-20000731> echo $RANDFILE 
>/tmp/randomData
>
>6:09pm cheetah: /home/OpenSSL/openssl-SNAP-20000731> dir $RANDFILE 
>-rw-r--r--   1 brebey          0 Jul 31 18:05 /tmp/randomData

Aha!  A zero-length random file!  That's not very random, is it?  What
happens when you unset RANDFILE or use a file that has some content?

Mark

-- 
Do not reply directly to this e-mail address
--
Mark Mentovai
UNIX Engineer
Gillette Global Network

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to