From 7ed477786cbbb3905117f8ae9f4ce8ca82e5446b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 12 Jul 2015 15:14:43 -0400 Subject: [PATCH] This should be the last SecureZeroMemory fix --- src/common/compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/compat.c b/src/common/compat.c index a32a1af1d6..01eccaccdc 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -80,7 +80,8 @@ wint_t _getwch(void); #define WEOF (wchar_t)(0xFFFF) #endif #if defined(HAVE_DECL_SECUREZEROMEMORY) && !HAVE_DECL_SECUREZEROMEMORY -PVOID SecureZeroMemory(PVOID ptr, SIZE_T cnt); +#define SecureZeroMemory RtlSecureZeroMemory +PVOID WINAPI SecureZeroMemory(PVOID ptr, SIZE_T cnt); #endif #elif defined(HAVE_READPASSPHRASE_H) #include -- 2.47.3