From 79f26ce66aace55651000b9ff9d7a0381dee6766 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 7 Mar 2014 19:03:35 -0700 Subject: [PATCH] added updated file (was correctly uploaded to npm) --- ssl-root-cas.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ssl-root-cas.js b/ssl-root-cas.js index 7cc9e54..b576cf3 100644 --- a/ssl-root-cas.js +++ b/ssl-root-cas.js @@ -4094,5 +4094,6 @@ var cas = module.exports = [ "3mB/ufNPRJLvKrcYPqcZ2Qt9sTdBQrC6YB3y/gkRsPCHe6ed\n" + "-----END CERTIFICATE-----\n" ]; -var opts = require('https').globalAgent.options; -if (!opts.ca || opts.ca.length < 100) { opts.ca = (opts.ca||[]).concat(cas); } \ No newline at end of file +module.exports.inject = function () { + var opts = require('https').globalAgent.options; + if (!opts.ca || opts.ca.length < 100) { opts.ca = (opts.ca||[]).concat(cas); }};