From 92b71da6d2135df41802605cb5f28b7ab28b194b Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 26 Oct 2017 16:40:16 -0600 Subject: [PATCH] allow for adjusting static IO buffer size --- wolfssl/wolfcrypt/memory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/memory.h b/wolfssl/wolfcrypt/memory.h index 736183b97..f838c0b87 100644 --- a/wolfssl/wolfcrypt/memory.h +++ b/wolfssl/wolfcrypt/memory.h @@ -88,7 +88,9 @@ WOLFSSL_API int wolfSSL_GetAllocators(wolfSSL_Malloc_cb*, #define WOLFMEM_MAX_BUCKETS 9 #endif #define WOLFMEM_DEF_BUCKETS 9 /* number of default memory blocks */ - #define WOLFMEM_IO_SZ 16992 /* 16 byte aligned */ + #ifndef WOLFMEM_IO_SZ + #define WOLFMEM_IO_SZ 16992 /* 16 byte aligned */ + #endif #ifndef WOLFMEM_BUCKETS /* default size of chunks of memory to seperate into * having session certs enabled makes a 21k SSL struct */