diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 23:49:16 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 23:49:16 -0500 |
commit | 38fe066bb424ab3ebf4297b9dcde12e5f8057612 (patch) | |
tree | 83f18b363558a136d712139d78004773e6a8402d /mailnews/mime/src/mimecms.cpp | |
parent | 544e93daf825f171e9f2b784a16d2ea36314f098 (diff) | |
download | UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.gz UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.lz UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.tar.xz UXP-38fe066bb424ab3ebf4297b9dcde12e5f8057612.zip |
Bugs 1507218 and 1528615
Tag #1273
Diffstat (limited to 'mailnews/mime/src/mimecms.cpp')
-rw-r--r-- | mailnews/mime/src/mimecms.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mailnews/mime/src/mimecms.cpp b/mailnews/mime/src/mimecms.cpp index 18d88acaa..a3a3c4739 100644 --- a/mailnews/mime/src/mimecms.cpp +++ b/mailnews/mime/src/mimecms.cpp @@ -567,7 +567,8 @@ void MimeCMSRequestAsyncSignatureVerification(nsICMSMessage *aCMSMsg, const char *aFromAddr, const char *aFromName, const char *aSenderAddr, const char *aSenderName, nsIMsgSMIMEHeaderSink *aHeaderSink, int32_t aMimeNestingLevel, - unsigned char* item_data, uint32_t item_len) + unsigned char* item_data, uint32_t item_len, + int16_t digest_type) { nsCOMPtr<nsICMSMessage2> msg2 = do_QueryInterface(aCMSMsg); if (!msg2) @@ -580,7 +581,7 @@ void MimeCMSRequestAsyncSignatureVerification(nsICMSMessage *aCMSMsg, return; if (item_data) - msg2->AsyncVerifyDetachedSignature(listener, item_data, item_len); + msg2->AsyncVerifyDetachedSignature(listener, item_data, item_len, digest_type); else msg2->AsyncVerifySignature(listener); } @@ -683,7 +684,7 @@ MimeCMS_eof (void *crypto_closure, bool abort_p) from_addr.get(), from_name.get(), sender_addr.get(), sender_name.get(), data->smimeHeaderSink, aRelativeNestLevel, - nullptr, 0); + nullptr, 0, 0); } } |