Skip to content

Commit 2878602

Browse files
author
pde
committed
work in progress
1 parent aed5afe commit 2878602

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/chrome/content/code/HTTPSRules.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,13 @@ const RuleWriter = {
264264
},
265265

266266
write: function(file, data) {
267-
if (!file.exists())
268-
return null;
267+
//if (!file.exists())
268+
// return null;
269+
this.log(WARN, "Opening " + file.path + "for writing");
269270
var data = "";
270271
var fstream = CC["@mozilla.org/network/file-output-stream;1"]
271272
.createInstance(CI.nsIFileOutputStream);
272-
fstream.init(file, -1, 0, 0);
273+
fstream.init(file, -1, -1, 0);
273274

274275
fstream.write(data, data.length);
275276
fstream.close();

src/components/ssl-observatory.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ function SSLObservatory() {
134134

135135
this.testProxySettings();
136136

137-
this.updateCertWhitelist();
137+
//this.updateCertWhitelist();
138+
this.loadCertWhitelist();
138139

139140
this.log(DBUG, "Loaded observatory component!");
140141
}

0 commit comments

Comments
 (0)