mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
|
'use strict';
|
||
|
|
||
|
// test-tls-client-reject 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-client-reject.js');
|