mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-10 04:22:05 +03:00
Update BearSSL, increase SSL stack (#6980)
Only minor updates to headers and no functionality change on the portions that we use in the ESP8266. @Teddyz reported random crashes while running against a local MQTT server and was able to report stack usages of up to 6136 bytes. Increase the SSL stack to a little more than that, once again.
This commit is contained in:
committed by
GitHub
parent
de307623b2
commit
b62d8c7633
@ -36,8 +36,8 @@ uint32_t *stack_thunk_top = NULL;
|
||||
uint32_t *stack_thunk_save = NULL; /* Saved A1 while in BearSSL */
|
||||
uint32_t stack_thunk_refcnt = 0;
|
||||
|
||||
/* Largest stack usage seen in the wild at scripts.google.com at 5828 */
|
||||
#define _stackSize (5900/4)
|
||||
/* Largest stack usage seen in the wild at 6120 */
|
||||
#define _stackSize (6200/4)
|
||||
#define _stackPaint 0xdeadbeef
|
||||
|
||||
/* Add a reference, and allocate the stack if necessary */
|
||||
|
Reference in New Issue
Block a user