[openssl-users] Doubt about OpenSSL library initialization in an HTTP client application
noloader at gmail.com
Sat Dec 3 18:42:39 UTC 2016
> I'm trying to speed up the initialization of a legacy HTTP client
> application. Debugging that code, I found the following functions being
> called each application startup:
> however, the execution of RAND_screen() spends about 3 seconds.
Also see https://wiki.openssl.org/index.php/Library_Initialization and
The short of it is, you should stop relying on auto-initialization of
the RNG, and seed it yourself with a call to `RAND_add`.
More information about the openssl-users