ARM mbedtls: prevent compilation of self_test functions

They were discarded by the linker GC as they weren't used so far, but better to make it explicit.
This commit is contained in:
Philippe Teuwen
2026-04-28 13:00:43 +02:00
parent 0f4fd96f83
commit 64f0145cb4
+2
View File
@@ -1447,7 +1447,9 @@
*
* Enable the checkup functions (*_self_test).
*/
#ifndef ON_DEVICE
#define MBEDTLS_SELF_TEST
#endif // ON_DEVICE
/**
* \def MBEDTLS_SHA256_SMALLER