Commit 44cb0906 authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

Make crypt functions more robust in case of incorrect api usage.

parent 962a5e77
......@@ -56,8 +56,11 @@ typedef struct tagPROVFUNCS
BOOL (WINAPI *pCPVerifySignature)(HCRYPTPROV hProv, HCRYPTHASH hHash, CONST BYTE *pbSignature, DWORD dwSigLen, HCRYPTKEY hPubKey, LPCWSTR sDescription, DWORD dwFlags);
} PROVFUNCS, *PPROVFUNCS;
#define MAGIC_CRYPTPROV 0xA39E741F
typedef struct tagCRYPTPROV
{
DWORD dwMagic;
UINT refcount;
HMODULE hModule;
PPROVFUNCS pFuncs;
......
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