diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-28 18:19:42 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-28 18:19:42 -0400 |
commit | 11caf6ecb3cb8c84d2355a6c6e9580a290147e92 (patch) | |
tree | 0271ab05db93f45615d7217aa2014dc4a51e2894 /toolkit/mozapps/extensions/nsBlocklistService.js | |
parent | f69729b0aa1d8cd1964994919ab30ce7c7d9f410 (diff) | |
download | uxp-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.js | 2 |
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 |