From eb96d4f2a1c6ce514b294574b6de136a3fb5c954 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Mon, 27 May 2019 11:31:43 -0700 Subject: [PATCH] Expand BSSL stack to 5750 bytes Fix #6143 which found a cipher combination which overran the old limit of 5600 bytes (it required 5700 bytes). --- cores/esp8266/StackThunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/StackThunk.cpp b/cores/esp8266/StackThunk.cpp index 4d86875c97..fe2ffcd793 100644 --- a/cores/esp8266/StackThunk.cpp +++ b/cores/esp8266/StackThunk.cpp @@ -36,7 +36,7 @@ uint32_t *stack_thunk_top = NULL; uint32_t *stack_thunk_save = NULL; /* Saved A1 while in BearSSL */ uint32_t stack_thunk_refcnt = 0; -#define _stackSize (5600/4) +#define _stackSize (5750/4) #define _stackPaint 0xdeadbeef /* Add a reference, and allocate the stack if necessary */