diff --git a/test/internet/test-tls-connnect-cnnic.js b/test/internet/test-tls-connnect-cnnic.js deleted file mode 100644 index 038e23d2374584..00000000000000 --- a/test/internet/test-tls-connnect-cnnic.js +++ /dev/null @@ -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(); -});