From 807d368f1d3707ccc4682c7fcd1e871ec34aafe6 Mon Sep 17 00:00:00 2001 From: Mohamad Al-Jaf Date: Wed, 6 Apr 2022 03:19:53 -0400 Subject: [PATCH] ncrypt: Warn on invalid flags in NCryptImportKey. Signed-off-by: Mohamad Al-Jaf Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/ncrypt/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c index 13909a2dd9e..e12284e0867 100644 --- a/dlls/ncrypt/main.c +++ b/dlls/ncrypt/main.c @@ -374,7 +374,7 @@ SECURITY_STATUS WINAPI NCryptImportKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_H } else if (flags) { - ERR("Invalid flags %#lx\n", flags); + WARN("Invalid flags %#lx\n", flags); return NTE_BAD_FLAGS; }