Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-tls-handshake-nohang.js « parallel « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 039c55b486d6a2cc4318b858667174a094f3637f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
const common = require('../common');

if (!common.hasCrypto) {
  common.skip('missing crypto');
  return;
}
const tls = require('tls');

// neither should hang
tls.createSecurePair(null, false, false, false);
tls.createSecurePair(null, true, false, false);