Browse Source

test: remove internet/test-tls-connnect-cnnic

Shigeki Ohtsu points out that the test is unreliable because some of
the www1.cnnnic.cn servers are misconfigured.  Remove it.

PR-URL: https://github.com/nodejs/node/pull/7363
Refs: https://github.com/nodejs/node/pull/7363#issuecomment-227801420
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
v7.x
Ben Noordhuis 9 years ago
parent
commit
ede98a7767
  1. 21
      test/internet/test-tls-connnect-cnnic.js

21
test/internet/test-tls-connnect-cnnic.js

@ -1,21 +0,0 @@
'use strict';
//
// The server cert of www1.cnnic.cn is listed in the whitelist of
// {
// { 0x1B, 0xF4, 0x8A, 0x83, 0x3C, 0xE4, 0x05, 0x64, 0x8C, 0xC0, 0xBD, 0xD3,
// 0xB5, 0xB8, 0xC1, 0x8E, 0xB5, 0x13, 0x15, 0x34, 0x29, 0x3A, 0xB2, 0x63,
// 0x44, 0xB5, 0x00, 0x76, 0x48, 0x11, 0x41, 0xED },
// },
// in src/CNNICHashWhitelist.inc
var common = require('../common');
if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}
var tls = require('tls');
var socket = tls.connect(443, 'www1.cnnic.cn', function() {
socket.resume();
socket.destroy();
});
Loading…
Cancel
Save