aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
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/build-data
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/build-data')
-rw-r--r--src/build-data/buildh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index b3e6f8197..4668811bc 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -26,7 +26,7 @@
#endif
/* Chunk sizes */
-#define BOTAN_DEFAULT_BUFFER_SIZE 4096
+#define BOTAN_DEFAULT_BUFFER_SIZE 1024
#define BOTAN_MEM_POOL_CHUNK_SIZE 64*1024
#define BOTAN_BLOCK_CIPHER_PAR_MULT 4