From 940cde001fe620d1d8f7b6408fa1e54faf5ba35f Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sat, 24 Sep 2016 11:39:17 +0000 Subject: [PATCH] [CRYPTNET] disable broken code svn path=/trunk/; revision=72792 --- reactos/dll/win32/cryptnet/cryptnet_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/win32/cryptnet/cryptnet_main.c b/reactos/dll/win32/cryptnet/cryptnet_main.c index 812b20fb8f5..b213c081d63 100644 --- a/reactos/dll/win32/cryptnet/cryptnet_main.c +++ b/reactos/dll/win32/cryptnet/cryptnet_main.c @@ -1025,6 +1025,7 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL, 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 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL, } } } +#endif if (hFile != INVALID_HANDLE_VALUE) { if ((ret = CRYPT_GetObjectFromFile(hFile, pObject)))