nodejs/test/parallel/test-tls-ticket-12.js

13 lines
247 B
JavaScript

'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
// Run test-tls-ticket.js with TLS1.2
const tls = require('tls');
tls.DEFAULT_MAX_VERSION = 'TLSv1.2';
require('./test-tls-ticket.js');