Merge pull request #12063 from s-hadinger/tsl_3800

Increase min stack thunk to 3800 #12031
This commit is contained in:
s-hadinger 2021-05-09 18:39:13 +02:00 committed by GitHub
commit fafe1622ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ uint32_t stack_thunk_light_refcnt = 0;
#elif defined(USE_MQTT_TLS_FORCE_EC_CIPHER) || defined(USE_4K_RSA)
#define _stackSize (4800/4) // no private key, we can reduce a little, max observed 4300
#else
#define _stackSize (3600/4) // using a light version of bearssl we can save 2k
#define _stackSize (3800/4) // using a light version of bearssl we can save 2k
#endif
#define _stackPaint 0xdeadbeef