Commit f3570f2
lib: replace checkUint() with validateInt32()
PR-URL: #20816
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent 02adb2d commit f3570f2Copy full SHA for f3570f2
File tree
Expand file treeCollapse file tree
5 files changed
+36
-31
lines changedOpen diff view settings
Filter options
- lib/internal
- crypto
- test/parallel
Expand file treeCollapse file tree
5 files changed
+36
-31
lines changedOpen diff view settings
Collapse file
lib/internal/crypto/pbkdf2.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/pbkdf2.js+4-6Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
11 | 12 | |
12 | 13 | |
13 | 14 | |
14 | | - |
15 | 15 | |
16 | 16 | |
17 | 17 | |
| ||
59 | 59 | |
60 | 60 | |
61 | 61 | |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 62 | + |
| 63 | + |
66 | 64 | |
67 | 65 | |
68 | 66 | |
|
Collapse file
lib/internal/crypto/scrypt.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/scrypt.js+11-8Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | 10 | |
10 | 11 | |
11 | 12 | |
12 | 13 | |
13 | | - |
14 | 14 | |
15 | 15 | |
16 | 16 | |
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | | - |
| 78 | + |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | | - |
84 | | - |
85 | | - |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
86 | 89 | |
87 | | - |
| 90 | + |
88 | 91 | |
89 | 92 | |
90 | 93 | |
|
Collapse file
lib/internal/crypto/util.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/util.js-15Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | 19 | |
21 | 20 | |
22 | 21 | |
| ||
26 | 25 | |
27 | 26 | |
28 | 27 | |
29 | | - |
30 | | - |
31 | | - |
32 | 28 | |
33 | 29 | |
34 | 30 | |
| ||
99 | 95 | |
100 | 96 | |
101 | 97 | |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | 98 | |
113 | 99 | |
114 | | - |
115 | 100 | |
116 | 101 | |
117 | 102 | |
|
Collapse file
+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
| 74 | + |
| 75 | + |
74 | 76 | |
75 | 77 | |
76 | 78 | |
| ||
91 | 93 | |
92 | 94 | |
93 | 95 | |
| 96 | + |
| 97 | + |
94 | 98 | |
95 | 99 | |
96 | 100 | |
| ||
112 | 116 | |
113 | 117 | |
114 | 118 | |
| 119 | + |
| 120 | + |
115 | 121 | |
116 | 122 | |
117 | 123 | |
|
Collapse file
test/parallel/test-crypto-pbkdf2.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-pbkdf2.js+15-2Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
| ||
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | | - |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
91 | 104 | |
92 | 105 | |
93 | 106 | |
|
0 commit comments