[ros-diffs] [tfaber] 55148: [CRYPT32] - Fix MSVC build. Sent and applied upstream.
tfaber at svn.reactos.org
tfaber at svn.reactos.org
Tue Jan 24 20:34:32 UTC 2012
Author: tfaber
Date: Tue Jan 24 20:34:31 2012
New Revision: 55148
URL: http://svn.reactos.org/svn/reactos?rev=55148&view=rev
Log:
[CRYPT32]
- Fix MSVC build. Sent and applied upstream.
Modified:
trunk/reactos/dll/win32/crypt32/msg.c
Modified: trunk/reactos/dll/win32/crypt32/msg.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/crypt32/msg.c?rev=55148&r1=55147&r2=55148&view=diff
==============================================================================
--- trunk/reactos/dll/win32/crypt32/msg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/crypt32/msg.c [iso-8859-1] Tue Jan 24 20:34:31 2012
@@ -1809,7 +1809,12 @@
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 Ros-diffs
mailing list