summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/extensions/nsBlocklistService.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-28 18:19:42 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-28 18:19:42 -0400
commit11caf6ecb3cb8c84d2355a6c6e9580a290147e92 (patch)
tree0271ab05db93f45615d7217aa2014dc4a51e2894 /toolkit/mozapps/extensions/nsBlocklistService.js
parentf69729b0aa1d8cd1964994919ab30ce7c7d9f410 (diff)
downloaduxp-11caf6ecb3cb8c84d2355a6c6e9580a290147e92.tar.gz
[TychoAM] Fix gCertBlocklistService.addRevokedCert is not a function
Mozilla renamed it to revokeCertByIssuerAndSerial
Diffstat (limited to 'toolkit/mozapps/extensions/nsBlocklistService.js')
-rw-r--r--toolkit/mozapps/extensions/nsBlocklistService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/mozapps/extensions/nsBlocklistService.js b/toolkit/mozapps/extensions/nsBlocklistService.js
index 936c9d1b51..487dae8e54 100644
--- a/toolkit/mozapps/extensions/nsBlocklistService.js
+++ b/toolkit/mozapps/extensions/nsBlocklistService.js
@@ -910,7 +910,7 @@ Blocklist.prototype = {
let issuer = blocklistElement.getAttribute("issuerName");
for (let snElement of blocklistElement.children) {
try {
- gCertBlocklistService.addRevokedCert(issuer, snElement.textContent);
+ gCertBlocklistService.revokeCertByIssuerAndSerial(issuer, snElement.textContent);
} catch (e) {
// we want to keep trying other elements since missing all items
// is worse than missing one