Skip to content

Commit 082bdba

Browse files
Ron EldorRon Eldor
Ron Eldor
authored and
Ron Eldor
committed
Undefine MBEDTLS_MPI_MAX_SIZE
Undefine `MBEDTLS_MPI_MAX_SIZE` in case it is already defined in the configuration file.
1 parent b16a513 commit 082bdba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tls-client/mbedtls_entropy_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
* Set this value higher to enable handling larger keys, but be aware that this
3434
* will increase the stack usage.
3535
*/
36+
#if defined(MBEDTLS_MPI_MAX_SIZE)
37+
#undef MBEDTLS_MPI_MAX_SIZE
38+
#endif
3639
#define MBEDTLS_MPI_MAX_SIZE 256
3740

3841
#define MBEDTLS_MPI_WINDOW_SIZE 1

0 commit comments

Comments
 (0)