Port bug 1555854 - adapt to change in signature of CryptoTask::Dispatch; rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Tue, 04 Jun 2019 16:54:55 +1200
changeset 35755 af589662271683181930592f05f4959291dee392
parent 35754 ae833bff1165829fb5ae9d8469e5c54ebb6a98e6
child 35756 f48dd749bd7016f7384e0a509becdfceeedfbc41
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersbustage-fix
bugs1555854
Port bug 1555854 - adapt to change in signature of CryptoTask::Dispatch; rs=bustage-fix
mailnews/mime/src/nsCMS.cpp
--- a/mailnews/mime/src/nsCMS.cpp
+++ b/mailnews/mime/src/nsCMS.cpp
@@ -403,17 +403,17 @@ class SMimeVerificationTask final : publ
 
 mozilla::StaticMutex SMimeVerificationTask::sMutex;
 
 nsresult nsCMSMessage::CommonAsyncVerifySignature(
     nsISMimeVerificationListener *aListener, unsigned char *aDigestData,
     uint32_t aDigestDataLen, int16_t aDigestType) {
   RefPtr<CryptoTask> task = new SMimeVerificationTask(
       this, aListener, aDigestData, aDigestDataLen, aDigestType);
-  return task->Dispatch("SMimeVerify");
+  return task->Dispatch();
 }
 
 class nsZeroTerminatedCertArray {
  public:
   nsZeroTerminatedCertArray() : mCerts(nullptr), mPoolp(nullptr), mSize(0) {}
 
   ~nsZeroTerminatedCertArray() { destructorSafeDestroyNSSReference(); }