Could you elaborate on what makes it broken? Link to a bug perhaps?

On 2016-09-24 13:39, cwitt...@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)))
> 
> 


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to