mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 13:25:20 +00:00

Some of the TLS tests have variables that do not get used. This removes those variables. PR-URL: https://github.com/nodejs/node/pull/4424 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
13 lines
283 B
JavaScript
13 lines
283 B
JavaScript
'use strict';
|
|
var common = require('../common');
|
|
|
|
if (!common.hasCrypto) {
|
|
console.log('1..0 # Skipped: missing crypto');
|
|
return;
|
|
}
|
|
var tls = require('tls');
|
|
|
|
// neither should hang
|
|
tls.createSecurePair(null, false, false, false);
|
|
tls.createSecurePair(null, true, false, false);
|