Commit 16c1bf12 authored by Thomas Brix Larsen's avatar Thomas Brix Larsen Committed by Alexandre Julliard

Added stub for CryptProtectData, so programs like Skype can start.

parent ce2d3ef7
......@@ -132,6 +132,7 @@
@ stub CryptMsgSignCTL
@ stub CryptMsgUpdate
@ stub CryptMsgVerifyCountersignatureEncoded
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
@ stub CryptRegisterOIDInfo
......
......@@ -53,6 +53,14 @@ BOOL WINAPI I_CryptFreeLruCache(DWORD x)
return FALSE;
}
BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr, DATA_BLOB* pOptionalEntropy,
PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct,
DWORD dwFlags, DATA_BLOB* pDataOut)
{
FIXME("stub!\n");
return FALSE;
}
/*
* (0x1001350, %eax, 0, 0, 9);
*
......
......@@ -49,6 +49,13 @@ typedef struct _CRYPTOAPI_BLOB {
CRYPT_DER_BLOB, *PCRYPT_DER_BLOB,
CRYPT_ATTR_BLOB, *PCRYPT_ATTR_BLOB;
typedef struct _CRYPTPROTECT_PROMPTSTRUCT{
DWORD cbSize;
DWORD dwPromptFlags;
HWND hwndApp;
LPCWSTR szPrompt;
} CRYPTPROTECT_PROMPTSTRUCT, *PCRYPTPROTECT_PROMPTSTRUCT;
typedef struct _CRYPT_ALGORITHM_IDENTIFIER {
LPSTR pszObjId;
CRYPT_OBJID_BLOB Parameters;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment