Skip to content
Snippets Groups Projects
Commit 5f06380b authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard
Browse files

CPAcquireContext: Set last error to ERROR_SUCCESS in case of success.

parent 7ff12568
No related branches found
No related tags found
No related merge requests found
......@@ -938,6 +938,8 @@ BOOL WINAPI RSAENH_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
TRACE("(phProv=%p, pszContainer=%s, dwFlags=%08lx, pVTable=%p)\n", phProv,
debugstr_a(pszContainer), dwFlags, pVTable);
SetLastError(ERROR_SUCCESS);
if (!load_lib()) return FALSE;
if (pszContainer ? strlen(pszContainer) : 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment