Commit 4669570
crypto: only try to set FIPS mode if different
Turning FIPS mode on (or off) when it's already on (or off) should be a
no-op, not an error.
PR-URL: #12210
Fixes: #11849
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 27af0bb commit 4669570Copy full SHA for 4669570
File tree
Expand file treeCollapse file tree
2 files changed
+14
-2
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
2 files changed
+14
-2
lines changedOpen diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6134 | 6134 | |
6135 | 6135 | |
6136 | 6136 | |
6137 | | - |
| 6137 | + |
| 6138 | + |
| 6139 | + |
| 6140 | + |
6138 | 6141 | |
6139 | 6142 | |
6140 | 6143 | |
6141 | | - |
| 6144 | + |
6142 | 6145 | |
6143 | 6146 | |
6144 | 6147 | |
|
Collapse file
test/parallel/test-crypto-fips.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-fips.js+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
209 | 209 | |
210 | 210 | |
211 | 211 | |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
212 | 221 | |
213 | 222 | |
214 | 223 | |
|
0 commit comments