File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ export async function prepareHandshakeDocument(
249
249
250
250
/** @public */
251
251
export const LEGAL_TLS_SOCKET_OPTIONS = [
252
+ 'allowPartialTrustChain' ,
252
253
'ALPNProtocols' ,
253
254
'ca' ,
254
255
'cert' ,
Original file line number Diff line number Diff line change @@ -1228,7 +1228,8 @@ export const OPTIONS = {
1228
1228
// Custom types for modifying core behavior
1229
1229
connectionType : { type : 'any' } ,
1230
1230
srvPoller : { type : 'any' } ,
1231
- // Accepted NodeJS Options
1231
+ // Accepted Node.js Options
1232
+ allowPartialTrustChain : { type : 'any' } ,
1232
1233
minDHSize : { type : 'any' } ,
1233
1234
pskCallback : { type : 'any' } ,
1234
1235
secureContext : { type : 'any' } ,
Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ export interface PkFactory {
93
93
94
94
/** @public */
95
95
export type SupportedTLSConnectionOptions = Pick <
96
- TLSConnectionOptions ,
97
- Extract < keyof TLSConnectionOptions , ( typeof LEGAL_TLS_SOCKET_OPTIONS ) [ number ] >
96
+ TLSConnectionOptions & {
97
+ allowPartialTrustChain ?: boolean ;
98
+ } ,
99
+ ( typeof LEGAL_TLS_SOCKET_OPTIONS ) [ number ]
98
100
> ;
99
101
100
102
/** @public */
You can’t perform that action at this time.
0 commit comments