Thomas Faber : crypt32: Fix build with MSVC.
Alexandre Julliard
julliard at winehq.org
Tue Jan 24 14:25:28 CST 2012
Module: wine
Branch: master
Commit: a7144d916db882a3cb0d9f53e356726b00ba04bd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a7144d916db882a3cb0d9f53e356726b00ba04bd
Author: Thomas Faber <thfabba at gmx.de>
Date: Mon Jan 23 18:37:35 2012 +0100
crypt32: Fix build with MSVC.
---
dlls/crypt32/msg.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index 50c1bee..610f8c5 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -1809,7 +1809,12 @@ static BOOL CEnvelopedEncodeMsg_GetParam(HCRYPTMSG hCryptMsg, DWORD dwParamType,
char oid_rsa_data[] = szOID_RSA_data;
CRYPT_ENVELOPED_DATA envelopedData = {
CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION, msg->cRecipientInfo,
- msg->recipientInfo, { oid_rsa_data, msg->algo, msg->data }
+ msg->recipientInfo, { oid_rsa_data, {
+ msg->algo.pszObjId,
+ { msg->algo.Parameters.cbData, msg->algo.Parameters.pbData }
+ },
+ { msg->data.cbData, msg->data.pbData }
+ }
};
ret = CRYPT_AsnEncodePKCSEnvelopedData(&envelopedData, pvData,
More information about the wine-cvs
mailing list