Bug 970614 - Remove code wrapped in #if 0 ... #endif blocks in PSM. r=keeler
authorRaymond Etornam Agbeame(:retornam) <mozbugs.retornam@gmail.com>
Mon, 24 Feb 2014 09:41:55 -0500
changeset 20399 a5955f7ecbed578dc99e034301fc7449f7d313f5
parent 20398 a95a4be999faec3f9a5553ab05a8427f7e6e1634
child 20400 3a53925d9c62d87dde46901d0051e493c61d5e60
push id1209
push usermbanner@mozilla.com
push dateTue, 02 Sep 2014 16:59:36 +0000
treeherdercomm-beta@842e0fd167ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler
bugs970614
Bug 970614 - Remove code wrapped in #if 0 ... #endif blocks in PSM. r=keeler
mailnews/mime/src/nsCMSSecureMessage.cpp
--- a/mailnews/mime/src/nsCMSSecureMessage.cpp
+++ b/mailnews/mime/src/nsCMSSecureMessage.cpp
@@ -162,20 +162,16 @@ SendMessage(const char *msg, const char 
 
   cert = CERT_DecodeCertFromPackage((char *)certDER, derLen);
   if (!cert) {
     PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("nsCMSSecureMessage::SendMessage - can't decode cert from package\n"));
     rv = NS_ERROR_FAILURE;
     goto done;
   }
 
-#if 0
-  cert->dbhandle = CERT_GetDefaultCertDB();  /* work-around */
-#endif
-
   /* Step 2.  Get a signature cert */
 
   /* Step 3. Build inner (signature) content */
 
   /* Step 4. Build outer (enveloped) content */
   env = NSS_CMSEnvelopedData_Create(cmsMsg, SEC_OID_DES_EDE3_CBC, 0);
   if (!env) {
     PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("nsCMSSecureMessage::SendMessage - can't create envelope data\n"));