Commit 73cd279
tls: specify options.name in validateKeyCert
This commit addresses a TODO added by Ruben Bridgewater in commit
c6b6c92 ("lib: always show
ERR_INVALID_ARG_TYPE received part") which was to prefix the name of
the invalid argument with 'options.'.
This commit also switches the order of the parameters to validateKeyCert
to be consistent with other validators.
PR-URL: #20284
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent cc09d7e commit 73cd279Copy full SHA for 73cd279
File tree
Expand file treeCollapse file tree
3 files changed
+16
-17
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+16
-17
lines changedOpen diff view settings
Collapse file
+8-9Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | | - |
63 | | - |
| 62 | + |
64 | 63 | |
65 | 64 | |
66 | 65 | |
| ||
100 | 99 | |
101 | 100 | |
102 | 101 | |
103 | | - |
| 102 | + |
104 | 103 | |
105 | 104 | |
106 | 105 | |
107 | | - |
| 106 | + |
108 | 107 | |
109 | 108 | |
110 | 109 | |
| ||
116 | 115 | |
117 | 116 | |
118 | 117 | |
119 | | - |
| 118 | + |
120 | 119 | |
121 | 120 | |
122 | 121 | |
123 | | - |
| 122 | + |
124 | 123 | |
125 | 124 | |
126 | 125 | |
| ||
137 | 136 | |
138 | 137 | |
139 | 138 | |
140 | | - |
| 139 | + |
141 | 140 | |
142 | 141 | |
143 | 142 | |
144 | | - |
| 143 | + |
145 | 144 | |
146 | 145 | |
147 | 146 | |
|
Collapse file
test/parallel/test-https-options-boolean-check.js
Copy file name to clipboardExpand all lines: test/parallel/test-https-options-boolean-check.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
91 | | - |
| 91 | + |
92 | 92 | |
93 | 93 | |
94 | 94 | |
| ||
113 | 113 | |
114 | 114 | |
115 | 115 | |
116 | | - |
117 | | - |
| 116 | + |
| 117 | + |
118 | 118 | |
119 | 119 | |
120 | 120 | |
| ||
147 | 147 | |
148 | 148 | |
149 | 149 | |
150 | | - |
| 150 | + |
151 | 151 | |
152 | 152 | |
153 | 153 | |
Collapse file
test/parallel/test-tls-options-boolean-check.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-options-boolean-check.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
86 | 86 | |
87 | 87 | |
88 | 88 | |
89 | | - |
| 89 | + |
90 | 90 | |
91 | 91 | |
92 | 92 | |
| ||
111 | 111 | |
112 | 112 | |
113 | 113 | |
114 | | - |
115 | | - |
| 114 | + |
| 115 | + |
116 | 116 | |
117 | 117 | |
118 | 118 | |
| ||
145 | 145 | |
146 | 146 | |
147 | 147 | |
148 | | - |
| 148 | + |
149 | 149 | |
150 | 150 | |
151 | 151 | |
|
0 commit comments