Re: ADVAPI32: preserve the last error value set by the CSP in CryptAcquireContext

2004-09-04 Thread Mike McCormack
Robert Shearman wrote: error: +/* must preserve the last error returned by the CSP here */ +r = GetLastError(); if (pProv) { FreeLibrary(pProv->hModule); @@ -486,6 +488,7 @@ CRYPT_Free(provname); CRYPT_Free(temp); CRYPT_Free(imagepath); +SetLastError( r );

Re: ADVAPI32: preserve the last error value set by the CSP in CryptAcquireContext

2004-09-04 Thread Robert Shearman
Mike McCormack wrote: ChangeLog: * preserve the last error value set by the CSP in CryptAcquireContext Index: dlls/advapi32/crypt.c === RCS file: /home/wine/wine/