Hi, I'm using the latest version of openssl(0.9.5a).
The sample programs 'serv' and 'cli' which located demos/ssl/
are not work fine.
'cli.cpp' always returns with an error after issuing
'SSL_connect()'.
2858:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:538:
This error was occured at line 538 of crypto/rand/md_rand.c
I wonder the source code md_rand.c has wrong code, the
variable 'ok' is never set after first setting at line 458,
so, if 'ok' is equal to '0', 'RANDerr' will be occured.
[crypto/rand/md_rand.c]
458 ok = (entropy >= ENTROPY_NEEDED);
459 if (!ok)
460 {
(snip 'ok' is never reset.)
533 memset(&m,0,sizeof(m));
534 if (ok)
535 return(1);
536 else
537 {
538 RANDerr(.....)
539
540 return(0);
541 }
It was not occured at previous version of openssl.(why?)
thanks.
follows are result of 'make report'
OpenSSL self-test report:
OpenSSL version: 0.9.5a
Last change: Make sure _lrotl and _lrotr are only used with MSVC....
OS (uname): SunOS purejava 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1
OS (config): sun4u-sun-solaris2
Target (default): solaris-sparcv9-gcc
Target: solaris-sparcv9-gcc
Compiler: gcc version 2.8.1
Test passed.
--
Fusao YASHIRO <[EMAIL PROTECTED]>
Open Systems Integration Dept.2
System Consultant Corporation
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]