crypt32: Add a stub for CryptEncryptMessage.

This commit is contained in:
Alexander Morozov 2010-07-05 14:23:35 +04:00 committed by Alexandre Julliard
parent 7d138aca12
commit dfd3e2dcd5
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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;
}