File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ overrides:
287287 - ./internal/structured_clone.js
288288 - ./internal/test/*.js
289289 - ./internal/test_runner/**/*.js
290- - ./internal/tls/secure-context .js
290+ - ./internal/tls/* .js
291291 - ./internal/util/parse_args/*.js
292292 - ./internal/v8_prof_processor.js
293293 - ./internal/vm.js
@@ -301,6 +301,7 @@ overrides:
301301 - ./stream/*.js
302302 - ./sys.js
303303 - ./test.js
304+ - ./tls.js
304305 - ./url.js
305306 - ./util/*.js
306307rules :
Original file line number Diff line number Diff line change 7979ERR_TLS_REQUIRED_SERVER_NAME ,
8080ERR_TLS_SESSION_ATTACK ,
8181ERR_TLS_SNI_FROM_SERVER ,
82- ERR_TLS_INVALID_STATE
82+ ERR_TLS_INVALID_STATE ,
8383} = codes ;
8484const { onpskexchange : kOnPskExchange } = internalBinding ( 'symbols' ) ;
8585const {
9797 validateUint32,
9898} = require ( 'internal/validators' ) ;
9999const {
100- InternalX509Certificate
100+ InternalX509Certificate,
101101} = require ( 'internal/crypto/x509' ) ;
102102const traceTls = getOptionValue ( '--trace-tls' ) ;
103103const tlsKeylog = getOptionValue ( '--tls-keylog' ) ;
@@ -653,7 +653,7 @@ function defineHandleReading(socket, handle){
653653} ,
654654set : ( value ) => {
655655socket [ kRes ] . reading = value ;
656- }
656+ } ,
657657} ) ;
658658}
659659
@@ -1379,7 +1379,7 @@ Server.prototype.setSecureContext = function(options){
13791379
13801380Server . prototype . _getServerData = function ( ) {
13811381return {
1382- ticketKeys : this . getTicketKeys ( ) . toString ( 'hex' )
1382+ ticketKeys : this . getTicketKeys ( ) . toString ( 'hex' ) ,
13831383} ;
13841384} ;
13851385
@@ -1615,7 +1615,7 @@ exports.connect = function connect(...args){
16151615ciphers : tls . DEFAULT_CIPHERS ,
16161616checkServerIdentity : tls . checkServerIdentity ,
16171617minDHSize : 1024 ,
1618- ...options
1618+ ...options ,
16191619} ;
16201620
16211621if ( ! options . keepAlive )
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class SecurePair extends EventEmitter{
7171 isServer,
7272 requestCert,
7373 rejectUnauthorized,
74- ...options
74+ ...options ,
7575} ) ;
7676this . cleartext . once ( 'secure' , ( ) => this . emit ( 'secure' ) ) ;
7777}
Original file line number Diff line number Diff line change 4949const {
5050ERR_TLS_CERT_ALTNAME_FORMAT ,
5151ERR_TLS_CERT_ALTNAME_INVALID ,
52- ERR_OUT_OF_RANGE
52+ ERR_OUT_OF_RANGE ,
5353} = require ( 'internal/errors' ) . codes ;
5454const internalUtil = require ( 'internal/util' ) ;
5555internalUtil . assertCrypto ( ) ;
You can’t perform that action at this time.
0 commit comments