Commit 89e2c71
tls: allow empty subject even with altNames defined
Behavior described in #11771
is still true even though the issue is closed.
This PR is to allow DNS and URI names, even when there is not a subject.
Refs: #11771
PR-URL: #22906
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 6322611 commit 89e2c71Copy full SHA for 89e2c71
File tree
Expand file treeCollapse file tree
2 files changed
+28
-10
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+28
-10
lines changedOpen diff view settings
Collapse file
+14-10Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
243 | 243 | |
244 | 244 | |
245 | 245 | |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
246 | 251 | |
247 | 252 | |
248 | 253 | |
249 | 254 | |
250 | 255 | |
251 | | - |
252 | | - |
| 256 | + |
253 | 257 | |
254 | 258 | |
255 | | - |
256 | 259 | |
257 | | - |
258 | | - |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
259 | 268 | |
260 | 269 | |
261 | 270 | |
| ||
265 | 274 | |
266 | 275 | |
267 | 276 | |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | | - |
273 | 277 | |
274 | 278 | |
275 | 279 | |
|
Collapse file
test/parallel/test-tls-check-server-identity.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-check-server-identity.js+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
143 | 143 | |
144 | 144 | |
145 | 145 | |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
146 | 160 | |
147 | 161 | |
148 | 162 | |
|
0 commit comments