aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-01-27 00:13:37 +0000
committerlloyd <[email protected]>2015-01-27 00:13:37 +0000
commit5ca89c642f19b747b965a22db87e7af2d13d0f35 (patch)
treee56df71537a01a9a11ca7295ea06b6c0b5b2df1f
parent05b7fbf51d6a0b5814456e17a7fa7261a5754f6c (diff)
Reference memset via std namespace
-rw-r--r--src/lib/utils/zero_mem.cpp2
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);