Commit e175d0b
crypto: reject public keys properly
Fixes: #29904
PR-URL: #29913
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent f3115c4 commit e175d0bCopy full SHA for e175d0b
File tree
Expand file treeCollapse file tree
2 files changed
+25
-1
lines changedOpen diff view settings
Filter options
- lib/internal/crypto
- test/parallel
Expand file treeCollapse file tree
2 files changed
+25
-1
lines changedOpen diff view settings
Collapse file
lib/internal/crypto/keys.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/keys.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
270 | 270 | |
271 | 271 | |
272 | 272 | |
273 | | - |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
274 | 277 | |
275 | 278 | |
276 | 279 | |
|
Collapse file
test/parallel/test-crypto-key-objects.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-key-objects.js+21Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
200 | 200 | |
201 | 201 | |
202 | 202 | |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
203 | 224 | |
204 | 225 | |
205 | 226 | |
|
0 commit comments