mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
increase max memory bucket size to account for larger WOLFSSL structure with sessioncerts
This commit is contained in:
@@ -12147,7 +12147,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
|
|
||||||
/* check if will fit in current buffer size */
|
/* check if will fit in current buffer size */
|
||||||
if ((ret = wolfSSL_BIO_get_mem_data(bio, (void*)&buf)) < sz + len) {
|
if ((ret = wolfSSL_BIO_get_mem_data(bio, (void*)&buf)) < sz + len) {
|
||||||
if (ret <= 0) {
|
if (ret < 0) {
|
||||||
return WOLFSSL_BIO_ERROR;
|
return WOLFSSL_BIO_ERROR;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@@ -97,7 +97,7 @@ WOLFSSL_API int wolfSSL_GetAllocators(wolfSSL_Malloc_cb*,
|
|||||||
#ifndef SESSION_CERTS
|
#ifndef SESSION_CERTS
|
||||||
#define WOLFMEM_BUCKETS 64,128,256,512,1024,2432,3456,4544,16128
|
#define WOLFMEM_BUCKETS 64,128,256,512,1024,2432,3456,4544,16128
|
||||||
#else
|
#else
|
||||||
#define WOLFMEM_BUCKETS 64,128,256,512,1024,2432,3456,4544,21616
|
#define WOLFMEM_BUCKETS 64,128,256,512,1024,2432,3456,4544,21696
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef WOLFMEM_DIST
|
#ifndef WOLFMEM_DIST
|
||||||
|
Reference in New Issue
Block a user