Commit 8b9e3dae authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

advapi32: Fix CryptReleaseContext() last error on NULL provider.

parent 62df03af
......@@ -662,7 +662,7 @@ BOOL WINAPI CryptReleaseContext (HCRYPTPROV hProv, DWORD dwFlags)
if (!pProv)
{
SetLastError(NTE_BAD_UID);
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
......
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