Dmitry Timoshkov : crypt32: Add support for CMSG_ENCODED_MESSAGE for a being decoded signed message.
Alexandre Julliard
julliard at winehq.org
Thu Nov 12 15:17:45 CST 2020
Module: wine
Branch: master
Commit: 4da1bca7c5e3cbb6aa3f194d32974829c6864354
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4da1bca7c5e3cbb6aa3f194d32974829c6864354
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Nov 12 11:15:08 2020 +0300
crypt32: Add support for CMSG_ENCODED_MESSAGE for a being decoded signed message.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/crypt32/msg.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index ba3690b2642..fac9561bbbd 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -3151,6 +3151,12 @@ static BOOL CDecodeSignedMsg_GetParam(CDecodeMsg *msg, DWORD dwParamType,
else
SetLastError(CRYPT_E_INVALID_MSG_TYPE);
break;
+ case CMSG_ENCODED_MESSAGE:
+ if (msg->msg_data.pbData)
+ ret = CRYPT_CopyParam(pvData, pcbData, msg->msg_data.pbData, msg->msg_data.cbData);
+ else
+ SetLastError(CRYPT_E_INVALID_MSG_TYPE);
+ break;
case CMSG_ENCODED_SIGNER:
if (msg->u.signed_data.info)
{
More information about the wine-cvs
mailing list