RE: RAND_egd() blocking -- despite contract that states otherwise?
>> So what do you want to do if you run out of entropy?[/color][/color]
> Fail with an error condition stating that, rather than
> the indeterminate hang in read() that was experienced.[/color]
I believe you need to compile with EGD support then. This will get you the
behavior you want. EGD provides no way to tell whether there's entropy or
not, so if you fall back to it, and it has no entropy, you will be in
There really is no way to fix this in OpenSSL. If you make it really not
block, it will never succeed. It is meaningless to query a daemon without
blocking -- at some point you must wait for the daemon to reply.
OpenSSL Project [url]http://www.openssl.org[/url]
User Support Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]