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)
committerShigeki Ohtsu <ohtsu@iij.ad.jp>
Fri, 12 Jun 2015 00:47:45 +0000 (09:47 +0900)
commitf62b6132521b2f3612e430e5dd20a680d9037b44
treeb046ac8661cc91ce63ba65aafb8855c5754c484f
parenta130132c8f281158ebe111f45369933ef48b1faf
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/io.js/issues/1461
PR-URL: https://github.com/nodejs/io.js/pull/1836
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
deps/openssl/openssl/apps/app_rand.c
deps/openssl/openssl/apps/s_client.c