Commit 4add368
src: replace impossible THROW with CHECK
The JS layer already verifies that divisor_bits is either a non-negative
32-bit signed integer or null/undefined, in which case it passes -1 to
the C++ layer. In either case, the C++ layer receives a 32-bit signed
integer greater than or equal to -1.
PR-URL: #47168
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent dd42214 commit 4add368Copy full SHA for 4add368
File tree
Expand file treeCollapse file tree
2 files changed
+2
-6
lines changedOpen diff view settings
Filter options
- src/crypto
- test/parallel
Expand file treeCollapse file tree
2 files changed
+2
-6
lines changedOpen diff view settings
Collapse file
+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | | - |
87 | 86 | |
88 | 87 | |
89 | 88 | |
90 | 89 | |
91 | 90 | |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
| 91 | + |
96 | 92 | |
97 | 93 | |
98 | 94 | |
|
Collapse file
test/parallel/test-crypto-keygen.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-keygen.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1278 | 1278 | |
1279 | 1279 | |
1280 | 1280 | |
1281 | | - |
| 1281 | + |
1282 | 1282 | |
1283 | 1283 | |
1284 | 1284 | |
|
0 commit comments