Bug 1497154 - recipient certificate status should not be checked for signing usage since that only concerns the sender certificate. r=mkmelin
authorChris Gaudry <chris.m.gaudry@gmail.com>
Tue, 09 Oct 2018 13:58:38 +0300
changeset 33338 03c827f7c3ac99b61c3165b890b0e8dc18eb0787
parent 33337 22c54a00f50379df40e6351d16f8a3d9ffb6f090
child 33339 f6d8ba2898f90e8a4887d9ffff4b325aa5f60516
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersmkmelin
bugs1497154
Bug 1497154 - recipient certificate status should not be checked for signing usage since that only concerns the sender certificate. r=mkmelin
mailnews/extensions/smime/content/msgCompSecurityInfo.js
--- a/mailnews/extensions/smime/content/msgCompSecurityInfo.js
+++ b/mailnews/extensions/smime/content/msgCompSecurityInfo.js
@@ -255,17 +255,16 @@ function onLoad()
 // --- borrowed from pippki.js ---
 const PRErrorCodeSuccess = 0;
 
 const certificateUsageEmailSigner            = 0x0010;
 const certificateUsageEmailRecipient         = 0x0020;
 
 // A map from the name of a certificate usage to the value of the usage.
 const certificateUsages = {
-  certificateUsageEmailSigner,
   certificateUsageEmailRecipient,
 };
 
 function asyncDetermineUsages(cert) {
   let promises = [];
   let now = Date.now() / 1000;
   let certdb = Cc["@mozilla.org/security/x509certdb;1"]
                  .getService(Ci.nsIX509CertDB);