Rob Shearman : crypt32: Decode the message content on finishing in CDecodeMsg_Update for the streamed case as well as the non-streamed case .

Alexandre Julliard julliard at winehq.org
Thu Apr 24 06:23:19 CDT 2008


Module: wine
Branch: master
Commit: 3f2ea57013dc4f23073beb3d8c8b1aa7a94f1051
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3f2ea57013dc4f23073beb3d8c8b1aa7a94f1051

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Apr 23 20:08:50 2008 +0100

crypt32: Decode the message content on finishing in CDecodeMsg_Update for the streamed case as well as the non-streamed case.

---

 dlls/crypt32/msg.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index 056c698..0972436 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -1673,6 +1673,9 @@ static BOOL CDecodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData,
             {
                 ret = CDecodeMsg_CopyData(msg, pbData, cbData);
                 msg->base.state = MsgStateDataFinalized;
+                if (ret)
+                    ret = CDecodeMsg_DecodeContent(msg, &msg->msg_data,
+                     msg->type);
             }
             else
             {




More information about the wine-cvs mailing list