Browse code

Fix: tbird, root CA not installed by connector

Nicolas Lascombes authored on 02/02/2016 16:26:19
Showing 1 changed files
... ...
@@ -113,7 +113,7 @@ StartObserver.prototype = {
113 113
                 return;
114 114
             }
115 115
             let certDB = Components.classes["@mozilla.org/security/x509certdb;1"].getService(Components.interfaces.nsIX509CertDB);
116
-            let scriptableStream = Components.classes["@mozilla.org/scriptableinputstream;1"].getService(Components.interfaces.nsIScriptableInputStream);
116
+            let scriptableStream = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance(Components.interfaces.nsIScriptableInputStream);
117 117
             let fileUri = channel.URI;
118 118
             scriptableStream.init(input);
119 119
             let certfile = scriptableStream.read(input.available());