File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 27
27
#include " mbedtls/platform.h"
28
28
#else
29
29
#include < stdio.h>
30
- #include < stdlib.h>
31
30
#define mbedtls_printf printf
32
- #define mbedtls_snprintf snprintf
33
- #define mbedtls_exit exit
34
- #define MBEDTLS_EXIT_SUCCESS EXIT_SUCCESS
35
- #define MBEDTLS_EXIT_FAILURE EXIT_FAILURE
36
31
#endif
37
32
38
33
using namespace utest ::v1;
@@ -179,7 +174,7 @@ int main() {
179
174
mbedtls_platform_context platform_ctx;
180
175
if ((ret = mbedtls_platform_setup (&platform_ctx))!= 0 )
181
176
{
182
- mbedtls_printf (" Mbed TLS selftest failed! mbedtls_platform_setup returned %d\n " , ret);
177
+ mbedtls_printf (" Mbed TLS multitest failed! mbedtls_platform_setup returned %d\n " , ret);
183
178
return 1 ;
184
179
}
185
180
#endif
Original file line number Diff line number Diff line change @@ -39,12 +39,7 @@ using namespace utest::v1;
39
39
#include " mbedtls/platform.h"
40
40
#else
41
41
#include < stdio.h>
42
- #include < stdlib.h>
43
42
#define mbedtls_printf printf
44
- #define mbedtls_snprintf snprintf
45
- #define mbedtls_exit exit
46
- #define MBEDTLS_EXIT_SUCCESS EXIT_SUCCESS
47
- #define MBEDTLS_EXIT_FAILURE EXIT_FAILURE
48
43
#endif
49
44
50
45
#define MBEDTLS_SELF_TEST_TEST_CASE (self_test_function ) \
You can’t perform that action at this time.
0 commit comments