Commit 6de65e2
Julien Gilli
test: backport fix ssl/tls options matrix test
Backport 408bffe from v0.12.
Now that the default ciphers list is used client side even when
options.ciphers is not set or set to undefined/null, and that the
default ciphers list does not contain RC4 anymore, update the ssl/tls
options matrix tests suite to check that a connection that uses RC4
needs both sides of the connection specifying RC4 in their allowed
ciphers.
Original commit message:
test: fix ssl/tls options matrix test
The tests suite available in test/external/ssl-options was originally
written for security fixes made in the v0.10 branch. In this branch, the
client's default ciphers list is compatible with SSLv2.
After merging this change from v0.10 to v0.12, this tests suite was
broken because commits 5d2aef1 and
f4c8020 make SSL/TLS clients use a
default ciphers list that is not compatible with the SSLv2 protocol.
This change fixes two issues:
1) The cipher list that was setup for a given test was not passed
properly to the client.
2) When either or both of clients/servers were using SSLv2, tests were
expected to succeed when at least the server end was using SSLv2
compatible ciphers. Now, tests are expected to succeed only if
SSLv2 compatible ciphers are used on both ends.
Fixes nodejs#9020.1 parent 8f30e88 commit 6de65e2
1 file changed
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
192 | 183 | | |
193 | 184 | | |
194 | 185 | | |
| |||
340 | 331 | | |
341 | 332 | | |
342 | 333 | | |
343 | | - | |
| 334 | + | |
| 335 | + | |
344 | 336 | | |
345 | 337 | | |
346 | 338 | | |
| |||
0 commit comments