Commit 5f06380b authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

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

parent 7ff12568
...@@ -938,6 +938,8 @@ BOOL WINAPI RSAENH_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer, ...@@ -938,6 +938,8 @@ BOOL WINAPI RSAENH_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
TRACE("(phProv=%p, pszContainer=%s, dwFlags=%08lx, pVTable=%p)\n", phProv, TRACE("(phProv=%p, pszContainer=%s, dwFlags=%08lx, pVTable=%p)\n", phProv,
debugstr_a(pszContainer), dwFlags, pVTable); debugstr_a(pszContainer), dwFlags, pVTable);
SetLastError(ERROR_SUCCESS);
if (!load_lib()) return FALSE; if (!load_lib()) return FALSE;
if (pszContainer ? strlen(pszContainer) : 0) if (pszContainer ? strlen(pszContainer) : 0)
......
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