aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-22 15:43:28 +0000
committerlloyd <[email protected]>2012-05-22 15:43:28 +0000
commit435218df876b20330123145c5089115bae548743 (patch)
tree8127f0aebcaff2ba4a624cf9c8b8e775ef60f799 /src/libstate/libstate.cpp
parented3ecaae0dfbc120a2f8ccbf255a5ea8f163ec0e (diff)
Properly align return values of mlock_allocator. Be more careful about
pointer checks as a sufficiently smart compiler might optimize way pointer comparisons otherwise. Avoid using an iterator value after we have released it from the map. Reduce the default buffer size to 1K to reduce pressure on mlock memory. Drop the old mlock wrapper code.
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r--src/libstate/libstate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index 7ddfddfca..78ff9135c 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -11,7 +11,6 @@
#include <botan/cpuid.h>
#include <botan/internal/core_engine.h>
#include <botan/internal/stl_util.h>
-#include <botan/internal/mlock.h>
#include <algorithm>
#if defined(BOTAN_HAS_SELFTESTS)