nodejs/test/parallel/test-tls-destroy-stream-12.js

14 lines
270 B
JavaScript

'use strict';
// test-tls-destroy-stream 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-destroy-stream.js');