cURL / Mailing Lists / curl-library / Single Mail


Re: Problems with Windows Binaries

From: Dan Fandrich <>
Date: Thu, 28 Oct 2010 13:25:28 -0700

On Thu, Oct 28, 2010 at 09:46:22PM +0200, David Graf wrote:
> The problem occurs actually during the initialization. OpenSsl insists
> on getting part of the RNG entropy using the desktop on Windows. This
> operation can be very slow, even worst if the user running this
> process has no desktop access.
> On recent windows versions the Crypt API is crypto safe and can be use
> safely to get an entropy.

What do you suggest as a better way to seed OpenSSL on Windows? Is there
a Windows crypt API call that's broadly available that returns high-quality
random data that can be used with RAND_add() instead of calling
RAND_screen() in libcurl?

>>> Dan
List admin:
Received on 2010-10-28