mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
7a0e462f9f
Manually fix issues that eslint --fix couldn't do automatically. PR-URL: https://github.com/nodejs/node/pull/10685 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
16 lines
397 B
JavaScript
16 lines
397 B
JavaScript
'use strict';
|
|
// Test for authorized access to the server which has a cross root
|
|
// certification between Starfield Class 2 and ValiCert Class 2
|
|
|
|
const common = require('../common');
|
|
if (!common.hasCrypto) {
|
|
common.skip('missing crypto');
|
|
return;
|
|
}
|
|
|
|
const tls = require('tls');
|
|
const socket = tls.connect(443, 'address.melissadata.net', function() {
|
|
socket.resume();
|
|
socket.destroy();
|
|
});
|