Skip to content

Commit 40911a1

Browse files
author
Andres AG
committed
Reduce the MBEDTLS_MPI_WINDOW_SIZE for tls-client
The tls-client example overflows the stack with armcc. To avoid this condition, we reduce the MBEDTLS_MPI_WINDOW_SIZE to the minimum possible value (1).
1 parent 85bef46 commit 40911a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tls-client/mbedtls_entropy_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@
3434
#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_ENTROPY_NV_SEED */
3535

3636
#define MBEDTLS_SHA1_C
37+
#define MBEDTLS_MPI_WINDOW_SIZE 1

0 commit comments

Comments
 (0)