Hi there,
As you may know, there are a demo serv.cpp and cli.cpp in the
openssl-0.9.6/demos/ssl directory. I built them, and run them. But I got
the following errors:
Server side:
Connection from 7f000001, port b5ac
SSL connection using (NONE)
Client does not have certificate.
11977:error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake
failure:s3_pkt.c:756:
Client side:
11691:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:474:You need to read the OpenSSL FAQ,
http://www.openssl.org/support/faq.html
I trace into md_rand.c : ssleay_rand_bytes() and found that the entropy
< ENTROPY_NEEDED.
Can anyone tell me what the varible "entropy" and ENTROPY_NEEDED mean?
And how to use them from application point of view? How to avoid the
error?
Thanks in advance?
--
Antai(Andy) Ning
CNBU, Nortel Networks
Phone:(613)765-9824 ESN:395-9824
Email:[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]