cURL / Mailing Lists / curl-library / Single Mail


Re: Problems with Windows Binaries

From: Pierre Joye <>
Date: Thu, 28 Oct 2010 21:07:50 +0200


On Thu, Oct 28, 2010 at 10:29 AM, David Graf <> wrote:
> application, the execution is 5x slower.
> Can someone help me, please?

If you have the same issue we met with php, then here is a possible solution:

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.

A quick fix is to remove the call to RAND_screen() and the performance
impact on init should be gone.


@pierrejoye | |
List admin:
Received on 2010-10-28