[Wine-devel] Eter's patch is applied to winehq repo 09/18/10

builder на builder.office.etersoft.ru builder на builder.office.etersoft.ru
Сб Сен 18 17:20:16 MSD 2010


New patches since last time:
commit dfd3e2dcd55e31c9f3be1cdc324e8d48dfe7a8b0
Author: Alexander Morozov <amorozov на etersoft.ru>

    crypt32: Add a stub for CryptEncryptMessage.

---

commit dfd3e2dcd55e31c9f3be1cdc324e8d48dfe7a8b0
Author: Alexander Morozov <amorozov на etersoft.ru>
Date:   Mon Jul 5 14:23:35 2010 +0400

    crypt32: Add a stub for CryptEncryptMessage.

diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index f531bf6..d9cd9a8 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -113,7 +113,7 @@
 @ stub CryptDecryptMessage
 @ stdcall CryptEncodeObject(long str ptr ptr ptr)
 @ stdcall CryptEncodeObjectEx(long str ptr long ptr ptr ptr)
-@ stub CryptEncryptMessage
+@ stdcall CryptEncryptMessage(ptr long ptr ptr long ptr ptr)
 @ stub CryptEnumOIDFunction
 @ stdcall CryptEnumOIDInfo(long long ptr ptr)
 @ stub CryptEnumProvidersU
diff --git a/dlls/crypt32/message.c b/dlls/crypt32/message.c
index 2d67e4c..b57c407 100644
--- a/dlls/crypt32/message.c
+++ b/dlls/crypt32/message.c
@@ -531,3 +531,14 @@ BOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,
         CryptReleaseContext(hCryptProv, 0);
     return ret;
 }
+
+BOOL WINAPI CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,
+ DWORD cRecipientCert, PCCERT_CONTEXT rgpRecipientCert[],
+ const BYTE *pbToBeEncrypted, DWORD cbToBeEncrypted, BYTE *pbEncryptedBlob,
+ DWORD *pcbEncryptedBlob)
+{
+    FIXME("(%p, %d, %p, %p, %d, %p, %p): stub\n", pEncryptPara, cRecipientCert,
+     rgpRecipientCert, pbToBeEncrypted, cbToBeEncrypted, pbEncryptedBlob,
+     pcbEncryptedBlob);
+    return FALSE;
+}


Подробная информация о списке рассылки Wine-devel