Commit 06327e5
tls: use process.binding('config') to detect fips mode
When the fips mode check was added sometime in v4 it caused a
regression in some edge cases (see #6114)
because `process.config` can be overwritten by userland modules.
This switches to using the backported process.binding('config') to
fix the regression.
Fixes: #6114
PR-URL: #7551
Reviewed-By: Myles Borins <myles.borins@gmail.com>1 parent b9136c0 commit 06327e5Copy full SHA for 06327e5
File tree
Expand file treeCollapse file tree
2 files changed
+5
-2
lines changedOpen diff view settings
Filter options
- lib
- src
Expand file treeCollapse file tree
2 files changed
+5
-2
lines changedOpen diff view settings
Collapse file
+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
+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
32 | 35 | |
33 | 36 | |
34 | 37 | |
|
0 commit comments