[PATCH] crypt32: Print Crypt(Un)protectMemory FIXME only once
André Hentschel
nerv at dawncrow.de
Sun Sep 9 07:35:18 CDT 2018
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
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 9ff7592282..79a0ce1fd3 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;
}
--
2.17.1
More information about the wine-devel
mailing list