mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 21:35:34 +00:00

PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
'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);
|