diff options
author | lloyd <[email protected]> | 2015-01-27 00:13:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-27 00:13:37 +0000 |
commit | 5ca89c642f19b747b965a22db87e7af2d13d0f35 (patch) | |
tree | e56df71537a01a9a11ca7295ea06b6c0b5b2df1f /src/lib/utils | |
parent | 05b7fbf51d6a0b5814456e17a7fa7261a5754f6c (diff) |
Reference memset via std namespace
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/zero_mem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/zero_mem.cpp b/src/lib/utils/zero_mem.cpp index 1dbf6e213..baa4aba6c 100644 --- a/src/lib/utils/zero_mem.cpp +++ b/src/lib/utils/zero_mem.cpp @@ -18,7 +18,7 @@ void zero_mem(void* ptr, size_t n) #if defined(BOTAN_TARGET_OS_HAS_RTLSECUREZEROMEMORY) ::RtlSecureZeroMemory(ptr, n); #elif defined(BOTAN_USE_VOLATILE_MEMSET) && (BOTAN_USE_VOLATILE_MEMSET == 1) - static void* (*const volatile memset_ptr)(void*, int, size_t) = memset; + static void* (*const volatile memset_ptr)(void*, int, size_t) = std::memset; (memset_ptr)(p, 0, n); #else volatile byte* p = reinterpret_cast<volatile byte*>(ptr); |