mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1774579 - certificate manager: update leftover loadCerts call from bug 1682412 r=rmf
In bug 1682412, loadCerts was removed from nsICertTree. At the time, the certificate manager still had one use of it that should have been updated to loadCertsFromCache. This patch makes that update. Differential Revision: https://phabricator.services.mozilla.com/D150503
This commit is contained in:
parent
e51e90d9b1
commit
46abba10d9
@ -790,7 +790,8 @@ async function addCACerts() {
|
||||
fp.open(rv => {
|
||||
if (rv == Ci.nsIFilePicker.returnOK) {
|
||||
certdb.importCertsFromFile(fp.file, Ci.nsIX509Cert.CA_CERT);
|
||||
caTreeView.loadCerts(Ci.nsIX509Cert.CA_CERT);
|
||||
let certcache = certdb.getCerts();
|
||||
caTreeView.loadCertsFromCache(certcache, Ci.nsIX509Cert.CA_CERT);
|
||||
caTreeView.selection.clearSelection();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user