mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
bug 1076329 - fix NSSDialogService to properly inspect checkbox state in confirmDownloadCACert r=mfinkle
This commit is contained in:
parent
2ef4382d43
commit
7b637b95c2
@ -85,9 +85,9 @@ NSSDialogs.prototype = {
|
||||
}
|
||||
|
||||
aTrust.value = Ci.nsIX509CertDB.UNTRUSTED;
|
||||
if (response.trustSSL == "true") aTrust.value |= Ci.nsIX509CertDB.TRUSTED_SSL;
|
||||
if (response.trustEmail == "true") aTrust.value |= Ci.nsIX509CertDB.TRUSTED_EMAIL;
|
||||
if (response.trustSign == "true") aTrust.value |= Ci.nsIX509CertDB.TRUSTED_OBJSIGN;
|
||||
if (response.trustSSL) aTrust.value |= Ci.nsIX509CertDB.TRUSTED_SSL;
|
||||
if (response.trustEmail) aTrust.value |= Ci.nsIX509CertDB.TRUSTED_EMAIL;
|
||||
if (response.trustSign) aTrust.value |= Ci.nsIX509CertDB.TRUSTED_OBJSIGN;
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user