From dfd3e2dcd55e31c9f3be1cdc324e8d48dfe7a8b0 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Mon, 5 Jul 2010 14:23:35 +0400 Subject: [PATCH] crypt32: Add a stub for CryptEncryptMessage. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/message.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index f531bf6a1f7..d9cd9a8ea97 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 2d67e4c3ad6..b57c4074945 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; +}