diff options
Diffstat (limited to 'test/simple/test-tls-pause-close.js')
-rw-r--r-- | test/simple/test-tls-pause-close.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/simple/test-tls-pause-close.js b/test/simple/test-tls-pause-close.js index a53d017a1..8e5d897d1 100644 --- a/test/simple/test-tls-pause-close.js +++ b/test/simple/test-tls-pause-close.js @@ -66,7 +66,10 @@ var server = tls.createServer(options, function(s) { }); server.listen(common.PORT, function() { - var c = tls.connect({port: common.PORT}, function() { + var c = tls.connect({ + port: common.PORT, + rejectUnauthorized: false + }, function() { console.log('client connected'); c.socket.on('end', function() { console.log('client socket ended'); |