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

This commit is contained in:
Rob Shearman 2008-04-23 20:08:50 +01:00 committed by Alexandre Julliard
parent 48f39dc995
commit 3f2ea57013
1 changed files with 3 additions and 0 deletions

View File

@ -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
{