diff options
Diffstat (limited to 'src/lib')
-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); |