https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8da9b8d169c43915fbaba…
commit 8da9b8d169c43915fbabae52c23297a333a1c31c
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sun Apr 1 13:18:23 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Apr 1 13:18:23 2018 +0100
[ADVAPI32] Sync crypt_lmhash.c with Wine Staging 3.3. CORE-14434
---
dll/win32/advapi32/wine/crypt_lmhash.c | 11 +++++++++++
media/doc/README.WINE | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/dll/win32/advapi32/wine/crypt_lmhash.c
b/dll/win32/advapi32/wine/crypt_lmhash.c
index e5d04b110a..1e2d77bfb2 100644
--- a/dll/win32/advapi32/wine/crypt_lmhash.c
+++ b/dll/win32/advapi32/wine/crypt_lmhash.c
@@ -20,7 +20,18 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifdef __REACTOS__
#include <advapi32.h>
+#else
+#include <stdarg.h>
+
+#include "ntstatus.h"
+#define WIN32_NO_STATUS
+#include "windef.h"
+#include "winternl.h"
+
+#include "crypt.h"
+#endif
static const unsigned char CRYPT_LMhash_Magic[8] =
{ 'K', 'G', 'S', '!', '@', '#',
'$', '%' };
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index ed36751105..6a8ed462f1 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -260,7 +260,7 @@ advapi32 -
reactos/dll/win32/advapi32/wine/cred.c # Synced to WineStaging-3.3
reactos/dll/win32/advapi32/wine/crypt.c # Synced to WineStaging-3.3
reactos/dll/win32/advapi32/wine/crypt_des.c # Synced to WineStaging-3.3
- reactos/dll/win32/advapi32/wine/crypt_lmhash.c # Synced to WineStaging-1.7.55
+ reactos/dll/win32/advapi32/wine/crypt_lmhash.c # Synced to WineStaging-3.3
reactos/dll/win32/advapi32/wine/security.c # Out of Sync
gdi32 -