Commit 3f2ea570 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

crypt32: Decode the message content on finishing in CDecodeMsg_Update for the…

crypt32: Decode the message content on finishing in CDecodeMsg_Update for the streamed case as well as the non-streamed case.
parent 48f39dc9
...@@ -1673,6 +1673,9 @@ static BOOL CDecodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData, ...@@ -1673,6 +1673,9 @@ static BOOL CDecodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData,
{ {
ret = CDecodeMsg_CopyData(msg, pbData, cbData); ret = CDecodeMsg_CopyData(msg, pbData, cbData);
msg->base.state = MsgStateDataFinalized; msg->base.state = MsgStateDataFinalized;
if (ret)
ret = CDecodeMsg_DecodeContent(msg, &msg->msg_data,
msg->type);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment