commit 7ed477786cbbb3905117f8ae9f4ce8ca82e5446b
Author: Nick Mathewson <[email protected]>
Date: Sun Jul 12 15:14:43 2015 -0400
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 a32a1af..01eccac 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 <readpassphrase.h>
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits