mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
[CRYPTNET] disable broken code
svn path=/trunk/; revision=72792
This commit is contained in:
parent
23829f32f6
commit
940cde001f
1 changed files with 2 additions and 0 deletions
|
@ -1025,6 +1025,7 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL,
|
||||||
components.dwUrlPathLength + 1);
|
components.dwUrlPathLength + 1);
|
||||||
hFile = CreateFileW(path, GENERIC_READ, FILE_SHARE_READ,
|
hFile = CreateFileW(path, GENERIC_READ, FILE_SHARE_READ,
|
||||||
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||||
|
#ifndef __REACTOS__
|
||||||
if (hFile == INVALID_HANDLE_VALUE)
|
if (hFile == INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
/* Try again on the current drive */
|
/* Try again on the current drive */
|
||||||
|
@ -1049,6 +1050,7 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (hFile != INVALID_HANDLE_VALUE)
|
if (hFile != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
if ((ret = CRYPT_GetObjectFromFile(hFile, pObject)))
|
if ((ret = CRYPT_GetObjectFromFile(hFile, pObject)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue