[ros-dev] [ros-diffs] [cwittich] 72792: [CRYPTNET] disable broken code
Thomas Faber
thomas.faber at reactos.org
Sat Sep 24 15:10:19 UTC 2016
What's the symptom you're trying to fix?
Is it a problem for Wine also, or just for us? And why?
Trying to understand why we need to break Wine sync here.
On 2016-09-24 17:01, Christoph von Wittich wrote:
> It won't work for absolute paths as it will result in C:C:\folder\. I
> committed a better fix.
>
>
> Am 24.09.2016 um 13:56 schrieb Thomas Faber:
>> Could you elaborate on what makes it broken? Link to a bug perhaps?
>>
>> On 2016-09-24 13:39, cwittich at svn.reactos.org wrote:
>>> Author: cwittich
>>> Date: Sat Sep 24 11:39:17 2016
>>> New Revision: 72792
>>>
>>> URL: http://svn.reactos.org/svn/reactos?rev=72792&view=rev
>>> Log:
>>> [CRYPTNET] disable broken code
>>>
>>> Modified:
>>> trunk/reactos/dll/win32/cryptnet/cryptnet_main.c
>>>
>>> Modified: trunk/reactos/dll/win32/cryptnet/cryptnet_main.c
>>> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptnet/cryptnet_main.c?rev=72792&r1=72791&r2=72792&view=diff
>>> ==============================================================================
>>> --- trunk/reactos/dll/win32/cryptnet/cryptnet_main.c [iso-8859-1] (original)
>>> +++ trunk/reactos/dll/win32/cryptnet/cryptnet_main.c [iso-8859-1] Sat Sep 24 11:39:17 2016
>>> @@ -1025,6 +1025,7 @@
>>> components.dwUrlPathLength + 1);
>>> hFile = CreateFileW(path, GENERIC_READ, FILE_SHARE_READ,
>>> NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
>>> +#ifndef __REACTOS__
>>> if (hFile == INVALID_HANDLE_VALUE)
>>> {
>>> /* Try again on the current drive */
>>> @@ -1049,6 +1050,7 @@
>>> }
>>> }
>>> }
>>> +#endif
>>> if (hFile != INVALID_HANDLE_VALUE)
>>> {
>>> if ((ret = CRYPT_GetObjectFromFile(hFile, pObject)))
>>>
>>>
More information about the Ros-dev
mailing list