mirror of https://gitee.com/openkylin/nodejs.git
14 lines
282 B
JavaScript
14 lines
282 B
JavaScript
'use strict';
|
|
|
|
// test-tls-net-socket-keepalive specifically for TLS1.2.
|
|
|
|
const common = require('../common');
|
|
if (!common.hasCrypto)
|
|
common.skip('missing crypto');
|
|
|
|
const tls = require('tls');
|
|
|
|
tls.DEFAULT_MAX_VERSION = 'TLSv1.2';
|
|
|
|
require('./test-tls-net-socket-keepalive.js');
|