diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-12 15:14:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-12 15:14:52 -0400 |
commit | 7ed477786cbbb3905117f8ae9f4ce8ca82e5446b (patch) | |
tree | b0efa73b6c7b0d6de6fd2a53d5183df898eee486 /src/common/compat.c | |
parent | 9f21c85e049f3c2bc65c8edb88d540f43814b522 (diff) | |
download | tor-7ed477786cbbb3905117f8ae9f4ce8ca82e5446b.tar.gz tor-7ed477786cbbb3905117f8ae9f4ce8ca82e5446b.zip |
This should be the last SecureZeroMemory fix
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <readpassphrase.h> |