deps: add -no_rand_screen to openssl s_client
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Wed, 27 May 2015 01:33:38 +0000 (10:33 +0900)
committerJames M Snell <jasnell@gmail.com>
Tue, 9 Feb 2016 16:42:15 +0000 (08:42 -0800)
commitd94f864abd0933c125afeb84b6f72ec709c63b43
tree27ccfe7de9237e7658abc0f51834eba78f857986
parent136295e20203656c6e51ed039e4eb2c2bb1c2d53
deps: add -no_rand_screen to openssl s_client

In openssl s_client on Windows, RAND_screen() is invoked to initialize
random state but it takes several seconds in each connection.
This added -no_rand_screen to openssl s_client on Windows to skip
RAND_screen() and gets a better performance in the unit test of
test-tls-server-verify.
Do not enable this except to use in the unit test.

Fixes: https://github.com/nodejs/node/issues/1461
PR-URL: https://github.com/nodejs/node/pull/1836
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
deps/openssl/openssl/apps/app_rand.c
deps/openssl/openssl/apps/s_client.c