ncrypt: Warn on invalid flags in NCryptImportKey.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dec096934a
commit
807d368f1d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue