Commit ce20ad7
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 4caa012 commit ce20ad7Copy full SHA for ce20ad7
File tree
Expand file treeCollapse file tree
2 files changed
+20
-2
lines changedOpen diff view settings
Filter options
- deps/openssl/openssl/apps
Expand file treeCollapse file tree
2 files changed
+20
-2
lines changedOpen diff view settings
Collapse file
deps/openssl/openssl/apps/app_rand.c
Copy file name to clipboardExpand all lines: deps/openssl/openssl/apps/app_rand.c+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
124 | 124 | |
125 | 125 | |
126 | 126 | |
127 | | - |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
128 | 137 | |
129 | 138 | |
130 | 139 | |
|
Collapse file
deps/openssl/openssl/apps/s_client.c
Copy file name to clipboardExpand all lines: deps/openssl/openssl/apps/s_client.c+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
236 | 236 | |
237 | 237 | |
238 | 238 | |
| 239 | + |
239 | 240 | |
240 | 241 | |
241 | 242 | |
| ||
451 | 452 | |
452 | 453 | |
453 | 454 | |
| 455 | + |
| 456 | + |
| 457 | + |
| 458 | + |
454 | 459 | |
455 | 460 | |
456 | 461 | |
| ||
1143 | 1148 | |
1144 | 1149 | |
1145 | 1150 | |
| 1151 | + |
| 1152 | + |
| 1153 | + |
| 1154 | + |
1146 | 1155 | |
1147 | 1156 | |
1148 | 1157 | |
| ||
1259 | 1268 | |
1260 | 1269 | |
1261 | 1270 | |
1262 | | - |
| 1271 | + |
1263 | 1272 | |
1264 | 1273 | |
1265 | 1274 | |
|
0 commit comments