Hi,
On Wed, May 10, 2000 at 04:50:06PM -0700, Tewari, Vijay wrote:
> I am trying to run the code in the demos directory under Win32
> platform. I can successfully compile the cli.cpp code, but at runtime
> I get the following error
>
> 342:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
> seeded:.\c
> rypto\rand\md_rand.c:538:
>
> While compiling Open SSL libraries for WinNT 4.0 I used
> nasm. In the VC++ environ I am using the
> Multithreaded DLL libraries
>
> Any help will be appreciated
On platforms which don't provide a /dev/random you must seed the PRNG
manually. Check out RAND_add(...), RAND_seed(...), RAND_event(...) or
RAND_screen(). Since you are only running the demos, I suggest you try
RAND_screen(), this is probably the simpliest way under Win32 to seed
the PRNG.
> Thanks
>
> Regards
> Vijay
>
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
Take care,
Cory
--
Cory Winter E-Mail: mailto:[EMAIL PROTECTED]
Software Developer WWW: http://www.ooc.com/
Object Oriented Concepts, Inc. Phone: (709) 738-3725
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]