deps: add -no_rand_screen to openssl s_client · nodejs/node@eacd090 · GitHub
Skip to content

Commit eacd090

Browse files
Shigeki OhtsuMylesBorins
authored andcommitted
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: #1461 PR-URL: #1836 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent f7eb162 commit eacd090

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

deps/openssl/openssl/apps/app_rand.c

Lines changed: 10 additions & 1 deletion

deps/openssl/openssl/apps/s_client.c

Lines changed: 10 additions & 1 deletion

0 commit comments

Comments
 (0)