Commit 5f984f8c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

dssenh: Add CPSetKeyParam() stub implementation.

dlls/dssenh/tests depend on CryptSetKeyParam(KP_X, NULL) returning FALSE/ERROR_INVALID_PARAMETER. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
parent 898ab8da
......@@ -19,7 +19,7 @@
@ stdcall CPImportKey(ptr ptr long ptr long ptr)
@ stdcall CPReleaseContext(ptr long)
@ stdcall CPSetHashParam(ptr ptr long ptr long)
@ stub CPSetKeyParam
@ stdcall CPSetKeyParam(ptr ptr long ptr long)
@ stub CPSetProvParam
@ stdcall CPSignHash(ptr ptr long wstr long ptr ptr)
@ stdcall CPVerifySignature(ptr ptr ptr long ptr wstr long)
......
......@@ -749,6 +749,17 @@ BOOL WINAPI CPGetUserKey( HCRYPTPROV hprov, DWORD keyspec, HCRYPTKEY *ret_key )
return ret;
}
BOOL WINAPI CPSetKeyParam( HCRYPTPROV hprov, HCRYPTKEY hkey, DWORD param, BYTE *data, DWORD flags )
{
if (!data)
{
SetLastError( ERROR_INVALID_PARAMETER );
return FALSE;
}
return FALSE;
}
BOOL WINAPI CPGenRandom( HCRYPTPROV hprov, DWORD len, BYTE *buffer )
{
struct container *container = (struct container *)hprov;
......
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