cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL RAND entropy init takes 30-60 depending on implementation

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 12 Jun 2004 13:18:19 +0200 (CEST)

On Thu, 10 Jun 2004, listman wrote:

> I would recommend replacing the RAND_screen call with a call to
> RAND_bytes( &c, 1 );

I checked the man pages. RAND_bytes() only works with an already seeded PRNG.
I fail to see how it can be used to seed it then!

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-12