File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 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(
249249
250250/** @public */
251251export const LEGAL_TLS_SOCKET_OPTIONS = [
252+ 'allowPartialTrustChain' ,
252253 'ALPNProtocols' ,
253254 'ca' ,
254255 'cert' ,
Original file line number Diff line number Diff line change @@ -1228,7 +1228,8 @@ export const OPTIONS = {
12281228 // Custom types for modifying core behavior
12291229 connectionType : { type : 'any' } ,
12301230 srvPoller : { type : 'any' } ,
1231- // Accepted NodeJS Options
1231+ // Accepted Node.js Options
1232+ allowPartialTrustChain : { type : 'any' } ,
12321233 minDHSize : { type : 'any' } ,
12331234 pskCallback : { type : 'any' } ,
12341235 secureContext : { type : 'any' } ,
Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ export interface PkFactory {
9393
9494/** @public */
9595export 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 ]
98100> ;
99101
100102/** @public */
You can’t perform that action at this time.
0 commit comments