Commit 12cb5d2e authored by Santino Mazza's avatar Santino Mazza Committed by Alexandre Julliard

ncrypt: Add NCryptVerifySignature stub.

With this change now some applications which uses ncrypt for signature validation work. For example, the visual studio installer (using dotnet from winetricks). Signed-off-by: 's avatarSantino Mazza <mazzasantino1206@gmail.com> Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 88e027b5
...@@ -367,3 +367,11 @@ SECURITY_STATUS WINAPI NCryptSetProperty(NCRYPT_HANDLE handle, const WCHAR *name ...@@ -367,3 +367,11 @@ SECURITY_STATUS WINAPI NCryptSetProperty(NCRYPT_HANDLE handle, const WCHAR *name
return set_object_property(object, name, input, insize); return set_object_property(object, name, input, insize);
} }
SECURITY_STATUS WINAPI NCryptVerifySignature(NCRYPT_KEY_HANDLE handle, void *padding, BYTE *hash, DWORD hash_size,
BYTE *signature, DWORD signature_size, DWORD flags)
{
FIXME("(%#Ix, %p, %p, %lu, %p, %lu, %#lx): stub\n", handle, padding, hash, hash_size, signature,
signature_size, flags);
return ERROR_SUCCESS;
}
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
@ stub NCryptUnprotectKey @ stub NCryptUnprotectKey
@ stub NCryptUnprotectSecret @ stub NCryptUnprotectSecret
@ stub NCryptVerifyClaim @ stub NCryptVerifyClaim
@ stub NCryptVerifySignature @ stdcall NCryptVerifySignature(ptr ptr ptr long ptr long long)
@ stub SslChangeNotify @ stub SslChangeNotify
@ stub SslComputeClientAuthHash @ stub SslComputeClientAuthHash
@ stub SslComputeEapKeyBlock @ stub SslComputeEapKeyBlock
......
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