diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-13 05:33:28 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-13 05:33:28 -0200 |
commit | 1f336830a183f7d6fe5e997e0eb920e409538930 (patch) | |
tree | b92cf6a75c05d3ac0335132715fda8330a2f49d3 /nonprism/icedove/rhbz-966424.patch | |
parent | d57bb5f6dc5b4fad213ccdcfa4bfd321d9a84caf (diff) | |
download | abslibre-1f336830a183f7d6fe5e997e0eb920e409538930.tar.gz abslibre-1f336830a183f7d6fe5e997e0eb920e409538930.tar.bz2 abslibre-1f336830a183f7d6fe5e997e0eb920e409538930.zip |
icedove-1:31.1.2.deb1-1{,.nonprism1}: updating version
Diffstat (limited to 'nonprism/icedove/rhbz-966424.patch')
-rw-r--r-- | nonprism/icedove/rhbz-966424.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nonprism/icedove/rhbz-966424.patch b/nonprism/icedove/rhbz-966424.patch new file mode 100644 index 000000000..c4c332e9e --- /dev/null +++ b/nonprism/icedove/rhbz-966424.patch @@ -0,0 +1,23 @@ +--- a/toolkit/modules/CertUtils.jsm ++++ b/toolkit/modules/CertUtils.jsm +@@ -170,17 +170,19 @@ this.checkCert = + issuerCert = issuerCert.QueryInterface(Ci.nsIX509Cert3); + var tokenNames = issuerCert.getAllTokenNames({}); + + if (!tokenNames || !tokenNames.some(isBuiltinToken)) + throw new Ce(certNotBuiltInErr, Cr.NS_ERROR_ABORT); + } + + function isBuiltinToken(tokenName) { +- return tokenName == "Builtin Object Token"; ++ return tokenName == "Builtin Object Token" || ++ tokenName == "Default Trust" || ++ tokenName == "System Trust"; + } + + /** + * This class implements nsIBadCertListener. Its job is to prevent "bad cert" + * security dialogs from being shown to the user. It is better to simply fail + * if the certificate is bad. See bug 304286. + * + * @param aAllowNonBuiltInCerts (optional) |