Commit e129d83
test: skip/replace weak crypto tests in FIPS mode
FIPS 140-2 does not permit the use of MD5 and RC4, skip or tests
that use them, or substitute with stronger crypto where applicable.
PR-URL: #3757
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James Snell <jasnell@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>1 parent bbcb2a2 commit e129d83Copy full SHA for e129d83
File tree
Expand file treeCollapse file tree
9 files changed
+89
-66
lines changedOpen diff view settings
Filter options
- test
- parallel
- pummel
- sequential
Expand file treeCollapse file tree
9 files changed
+89
-66
lines changedOpen diff view settings
Collapse file
test/parallel/test-crypto-binary-default.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-binary-default.js+16-10Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
324 | 324 | |
325 | 325 | |
326 | 326 | |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
| 333 | + |
332 | 334 | |
333 | 335 | |
334 | 336 | |
| ||
339 | 341 | |
340 | 342 | |
341 | 343 | |
342 | | - |
343 | | - |
| 344 | + |
344 | 345 | |
345 | 346 | |
346 | 347 | |
347 | 348 | |
348 | | - |
349 | | - |
350 | | - |
| 349 | + |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
351 | 357 | |
352 | 358 | |
353 | 359 | |
|
Collapse file
test/parallel/test-crypto-hash.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-hash.js+7-5Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
| 14 | + |
16 | 15 | |
17 | 16 | |
18 | 17 | |
| ||
38 | 37 | |
39 | 38 | |
40 | 39 | |
41 | | - |
42 | | - |
43 | | - |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
44 | 46 | |
45 | 47 | |
46 | 48 | |
|
Collapse file
test/parallel/test-crypto-hmac.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-hmac.js+11-6Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
| 64 | + |
| 65 | + |
| 66 | + |
64 | 67 | |
65 | 68 | |
66 | 69 | |
| ||
346 | 349 | |
347 | 350 | |
348 | 351 | |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
355 | 360 | |
356 | 361 | |
357 | 362 | |
|
Collapse file
test/parallel/test-crypto-stream.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-stream.js+15-13Lines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
42 | 44 | |
43 | 45 | |
44 | 46 | |
|
Collapse file
test/parallel/test-tls-ecdh.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-ecdh.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
test/parallel/test-tls-getcipher.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-getcipher.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
|
Collapse file
test/parallel/test-tls-set-ciphers.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-set-ciphers.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
test/pummel/test-crypto-dh.js
Copy file name to clipboardExpand all lines: test/pummel/test-crypto-dh.js+12-9Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | 43 | |
| 44 | + |
| 45 | + |
| 46 | + |
44 | 47 | |
45 | 48 | |
46 | 49 | |
|
Collapse file
test/sequential/test-tls-honorcipherorder.js
Copy file name to clipboardExpand all lines: test/sequential/test-tls-honorcipherorder.js+25-20Lines changed: 25 additions & 20 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | | - |
15 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
16 | 17 | |
17 | 18 | |
18 | 19 | |
| ||
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | | - |
| 28 | + |
| 29 | + |
28 | 30 | |
29 | 31 | |
30 | 32 | |
| ||
57 | 59 | |
58 | 60 | |
59 | 61 | |
60 | | - |
| 62 | + |
| 63 | + |
61 | 64 | |
62 | 65 | |
63 | 66 | |
64 | | - |
65 | | - |
66 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
67 | 71 | |
68 | 72 | |
69 | 73 | |
70 | | - |
71 | | - |
72 | | - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
73 | 78 | |
74 | 79 | |
75 | 80 | |
76 | | - |
| 81 | + |
77 | 82 | |
78 | | - |
| 83 | + |
79 | 84 | |
80 | 85 | |
81 | 86 | |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
86 | 92 | |
87 | 93 | |
88 | 94 | |
89 | 95 | |
90 | | - |
91 | | - |
92 | | - |
| 96 | + |
| 97 | + |
93 | 98 | |
0 commit comments