From ed5f4f3a444e155292db2be6b499528c279fdefb Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 15 Jun 2010 18:29:45 -0700 Subject: [PATCH] RootCaCerts shouldn't be global --- lib/crypto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crypto.js b/lib/crypto.js index b79d35790f..17e6256515 100644 --- a/lib/crypto.js +++ b/lib/crypto.js @@ -1,4 +1,4 @@ -RootCaCerts = [ +var RootCaCerts = [ // "GTE CyberTrust Root CA" "-----BEGIN CERTIFICATE-----\n" +"MIIB+jCCAWMCAgGjMA0GCSqGSIb3DQEBBAUAMEUxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9HVEUg\n" @@ -3581,7 +3581,7 @@ RootCaCerts = [ +"tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA==\n" +"-----END CERTIFICATE-----\n", -] +]; var sys = require("sys"); try {