Bug 1604773 - Restore ability to retrieve S/MIME certificates from LDAP. r=mkmelin
--HG-- extra : rebase_source : db03adb72d200cbe3522d06bb97a62c68ca243bf
This commit is contained in:
Родитель
570fe5ac82
Коммит
cc6e8577be
|
@ -85,11 +85,10 @@ function importCert(ber_value) {
|
|||
gCertDB = Cc[nsX509CertDB].getService(nsIX509CertDB);
|
||||
}
|
||||
|
||||
var cert_length = {};
|
||||
var cert_bytes = ber_value.get(cert_length);
|
||||
|
||||
// ber_value has type nsILDAPBERValue
|
||||
var cert_bytes = ber_value.get();
|
||||
if (cert_bytes) {
|
||||
gCertDB.importEmailCertificate(cert_bytes, cert_length.value, null);
|
||||
gCertDB.importEmailCertificate(cert_bytes, cert_bytes.length, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче