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)
committerAlexis Campailla <alexis@janeasystems.com>
Wed, 3 Jun 2015 17:11:22 +0000 (19:11 +0200)
commit0ee497f0b45c9c97cb6a533d8effb87366706eb2
treebe9d7e4f8bc3bc1a1f3e1e0602b9e57d71d73117
parent4cf323d23dcefedd349fedd396a58b0ed1fa2387
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