aboutsummaryrefslogtreecommitdiffstats
path: root/src/mlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlock.cpp')
-rw-r--r--src/mlock.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mlock.cpp b/src/mlock.cpp
new file mode 100644
index 000000000..c4f8c2e70
--- /dev/null
+++ b/src/mlock.cpp
@@ -0,0 +1,24 @@
+/*************************************************
+* Memory Locking Functions Source File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#include <botan/util.h>
+
+namespace Botan {
+
+/*************************************************
+* Lock an area of memory into RAM *
+*************************************************/
+void lock_mem(void*, u32bit)
+ {
+ }
+
+/*************************************************
+* Unlock a previously locked region of memory *
+*************************************************/
+void unlock_mem(void*, u32bit)
+ {
+ }
+
+}