aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-12 02:46:59 +0000
committerlloyd <[email protected]>2008-04-12 02:46:59 +0000
commit21669116db5ccb075d92a24af763f7b8c7a32976 (patch)
treeafca213e9b0fd6ea87043df29c9e21074e19da03 /misc
parent04b702def2a883eada14a505955d6b369e9de88f (diff)
Make the memory allocator's chunk size a compile time constant, via a
new build.h macro BOTAN_MEM_POOL_CHUNK_SIZE
Diffstat (limited to 'misc')
-rw-r--r--misc/config/buildh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/config/buildh.in b/misc/config/buildh.in
index 2816eface..1976b58e9 100644
--- a/misc/config/buildh.in
+++ b/misc/config/buildh.in
@@ -12,6 +12,7 @@
#define BOTAN_MP_WORD_BITS @{var:mp_bits}
#define BOTAN_DEFAULT_BUFFER_SIZE 4096
+#define BOTAN_MEM_POOL_CHUNK_SIZE 64*1024
#define BOTAN_KARAT_MUL_THRESHOLD 12
#define BOTAN_KARAT_SQR_THRESHOLD 12