From: Nick Mathewson Date: Sun, 12 Jul 2015 19:14:43 +0000 (-0400) Subject: This should be the last SecureZeroMemory fix X-Git-Tag: tor-0.2.7.2-alpha~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ed477786cbbb3905117f8ae9f4ce8ca82e5446b;p=thirdparty%2Ftor.git This should be the last SecureZeroMemory fix --- 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