From d83eabe5b3078b95bddd50f3840234b116aa3063 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Mon, 27 May 2019 12:51:33 -0700 Subject: [PATCH] Expand BSSL stack to 5750 bytes (#6153) 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 4d86875c9..fe2ffcd79 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 */