Fusao YASHIRO wrote:

> 'cli.cpp' always returns with an error after issuing
> 'SSL_connect()'.

The test programs would only work on systems with /dev/random without modification.
On Solaris, you should use EGD, see the RAND_egd() manpage.

> 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.

That is because (entropy >= ENTROPY_NEEDED) in line 458 is the error condition.


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

Reply via email to