wintrust: Implement CryptCATAdminCalcHashFromFileHandle, try 2

Alexandre Julliard julliard at winehq.org
Tue Oct 21 05:12:43 CDT 2008


Maarten Lankhorst <m.b.lankhorst at gmail.com> writes:

> +        curpos.QuadPart = 0;
> +        SetFilePointerEx(hFile, curpos, &oldpos, FILE_CURRENT);
> +        SetFilePointerEx(hFile, curpos, NULL, FILE_BEGIN);

That's not thread-safe.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list