From 435218df876b20330123145c5089115bae548743 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 22 May 2012 15:43:28 +0000 Subject: 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. --- src/build-data/buildh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build-data') 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 -- cgit v1.2.3