mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
CPAcquireContext: Set last error to ERROR_SUCCESS in case of success.
This commit is contained in:
parent
7ff12568b8
commit
5f06380b40
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user