Backed out changeset b46a0d6d2173 from bug 1367252 since ported bug 1364159 was backed out on M-C. a=backout
authorJorg K <jorgk@jorgk.com>
Tue, 19 Sep 2017 11:58:30 +0200
changeset 29749 73eb4003c8073be936cc80f9e89992c506bb24a4
parent 29748 ac010135e1f32d30314315377df9dcbc0700d82b
child 29750 4ff3727aec0f13b8a9912b7fadab5fee26249302
push id378
push userclokep@gmail.com
push dateMon, 13 Nov 2017 18:45:35 +0000
reviewersbackout
bugs1367252, 1364159
backs outb46a0d6d2173d5a6d9bf38cdb122ec877051eac1
Backed out changeset b46a0d6d2173 from bug 1367252 since ported bug 1364159 was backed out on M-C. a=backout
mailnews/mime/src/nsCMSSecureMessage.cpp
--- a/mailnews/mime/src/nsCMSSecureMessage.cpp
+++ b/mailnews/mime/src/nsCMSSecureMessage.cpp
@@ -74,17 +74,16 @@ nsresult nsCMSSecureMessage::CheckUsageO
 
   UniqueCERTCertList unusedBuiltChain;
   if (certVerifier->VerifyCert(aCert->GetCert(),
                                aUsage,
                                mozilla::pkix::Now(),
                                nullptr,
                                nullptr,
                                unusedBuiltChain,
-                               nullptr,
                                CertVerifier::FLAG_LOCAL_ONLY) == mozilla::pkix::Success) {
     *aCanBeUsed = true;
   }
   return NS_OK;
 }
 
 NS_IMETHODIMP nsCMSSecureMessage::CanBeUsedForEmailEncryption(nsIX509Cert* aCert, bool* aCanBeUsed) {
   return CheckUsageOk(aCert, certificateUsageEmailRecipient, aCanBeUsed);