0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-tls-handshake-nohang.js

8 lines
214 B
JavaScript
Raw Normal View History

var common = require('../common');
var assert = require('assert');
var tls = require('tls');
// neither should hang
tls.createSecurePair(null, false, false, false);
tls.createSecurePair(null, true, false, false);