From 3f2ea57013dc4f23073beb3d8c8b1aa7a94f1051 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 23 Apr 2008 20:08:50 +0100 Subject: [PATCH] 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 file changed, 3 insertions(+) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 056c6988698..09724362eb3 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 {