=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: crypt32: Print Crypt(Un) protectMemory FIXME only once.
Alexandre Julliard
julliard at winehq.org
Mon Sep 10 16:01:08 CDT 2018
Module: wine
Branch: master
Commit: 42c20ac0b838b351257b572db4d96fbfed7c7291
URL: https://source.winehq.org/git/wine.git/?a=commit;h=42c20ac0b838b351257b572db4d96fbfed7c7291
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Sep 9 14:35:18 2018 +0200
crypt32: Print Crypt(Un)protectMemory FIXME only once.
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/crypt32/main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 9ff7592..79a0ce1 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -252,12 +252,14 @@ ASN1encoding_t WINAPI I_CryptGetAsn1Encoder(HCRYPTASN1MODULE x)
BOOL WINAPI CryptProtectMemory(void *data, DWORD len, DWORD flags)
{
- FIXME("(%p %u %08x): stub\n", data, len, flags);
+ static int fixme_once;
+ if (!fixme_once++) FIXME("(%p %u %08x): stub\n", data, len, flags);
return TRUE;
}
BOOL WINAPI CryptUnprotectMemory(void *data, DWORD len, DWORD flags)
{
- FIXME("(%p %u %08x): stub\n", data, len, flags);
+ static int fixme_once;
+ if (!fixme_once++) FIXME("(%p %u %08x): stub\n", data, len, flags);
return TRUE;
}
More information about the wine-cvs
mailing list