From 1f75b081275c7e7991584206dad4bb37094cd80c Mon Sep 17 00:00:00 2001 From: Joseph Kogut Date: Fri, 4 Oct 2019 18:27:12 -0700 Subject: [PATCH] ncrypt: Add NCryptIsAlgSupported stub. Signed-off-by: Joseph Kogut Signed-off-by: Alexandre Julliard --- dlls/ncrypt/main.c | 7 +++++++ dlls/ncrypt/ncrypt.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c index 1f06ed398e9..c0cc05c43ca 100644 --- a/dlls/ncrypt/main.c +++ b/dlls/ncrypt/main.c @@ -125,6 +125,13 @@ SECURITY_STATUS WINAPI NCryptImportKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_H return NTE_NOT_SUPPORTED; } +SECURITY_STATUS WINAPI NCryptIsAlgSupported(NCRYPT_PROV_HANDLE provider, const WCHAR *algid, + DWORD flags) +{ + FIXME("(0x%lx, %s, 0x%08x): stub\n", provider, wine_dbgstr_w(algid), flags); + return NTE_NOT_SUPPORTED; +} + SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key, const WCHAR *name, DWORD keyspec, DWORD flags) { diff --git a/dlls/ncrypt/ncrypt.spec b/dlls/ncrypt/ncrypt.spec index b58ef34434d..3908cbfb910 100644 --- a/dlls/ncrypt/ncrypt.spec +++ b/dlls/ncrypt/ncrypt.spec @@ -77,7 +77,7 @@ @ stdcall NCryptGetProperty(ptr wstr ptr long ptr long) @ stub NCryptGetProtectionDescriptorInfo @ stdcall NCryptImportKey(long long wstr ptr ptr ptr long long) -@ stub NCryptIsAlgSupported +@ stub NCryptIsAlgSupported(long wstr long) @ stub NCryptIsKeyHandle @ stub NCryptKeyDerivation @ stub NCryptNotifyChangeKey