mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 19:15:35 +00:00
Increase the memory buffer size for ssl_server2.c
Newer features in the library have increased the overall RAM usage of the library, when all features are enabled. ssl_server2.c, with all features enabled was running out of memory for the ssl-opt.sh test 'Authentication: client max_int chain, server required'. This commit increases the memory buffer allocation for ssl_server2.c to allow the test to work with all features enabled.
This commit is contained in:
parent
7a539a57d7
commit
35007df398
|
@ -904,7 +904,7 @@ int main( int argc, char *argv[] )
|
||||||
const char *alpn_list[ALPN_LIST_SIZE];
|
const char *alpn_list[ALPN_LIST_SIZE];
|
||||||
#endif
|
#endif
|
||||||
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
||||||
unsigned char alloc_buf[100000];
|
unsigned char alloc_buf[120000];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue