Bug 1497154 - recipient certificate status should not be checked for signing usage since that only concerns the sender certificate. r=mkmelin a=jorgk
authorChris Gaudry <chris.m.gaudry@gmail.com>
Tue, 09 Oct 2018 13:58:38 +0300
changeset 31856 807198ad8091a0098ea846f62e408c6b7e867ae0
parent 31855 01d10b64821078746e600ea322d3f48b23f735f5
child 31857 86faf734312c45840a2e9064761f2daf3a1fd377
push id86
push usermozilla@jorgk.com
push dateSun, 14 Oct 2018 09:47:49 +0000
treeherdercomm-esr60@e524897f5bde [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, jorgk
bugs1497154
Bug 1497154 - recipient certificate status should not be checked for signing usage since that only concerns the sender certificate. r=mkmelin a=jorgk
mailnews/extensions/smime/content/msgCompSecurityInfo.js
--- a/mailnews/extensions/smime/content/msgCompSecurityInfo.js
+++ b/mailnews/extensions/smime/content/msgCompSecurityInfo.js
@@ -235,17 +235,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);