aboutsummaryrefslogtreecommitdiffstats
path: root/src/secalloc/ml_win32/mlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/secalloc/ml_win32/mlock.cpp')
-rw-r--r--src/secalloc/ml_win32/mlock.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/secalloc/ml_win32/mlock.cpp b/src/secalloc/ml_win32/mlock.cpp
deleted file mode 100644
index 8c5919934..000000000
--- a/src/secalloc/ml_win32/mlock.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/*************************************************
-* Memory Locking Functions Source File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#include <botan/util.h>
-#include <windows.h>
-
-namespace Botan {
-
-/*************************************************
-* Lock an area of memory into RAM *
-*************************************************/
-void lock_mem(void* ptr, u32bit bytes)
- {
- VirtualLock(ptr, bytes);
- }
-
-/*************************************************
-* Unlock a previously locked region of memory *
-*************************************************/
-void unlock_mem(void* ptr, u32bit bytes)
- {
- VirtualUnlock(ptr, bytes);
- }
-
-}