summaryrefslogtreecommitdiff
path: root/library/platform_util.c
diff options
context:
space:
mode:
authorSimon Butcher <simon.butcher@arm.com>2018-12-09 22:42:11 +0000
committerManuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>2018-12-11 12:28:56 +0100
commit4c37db6d879dedb9812bfa6ebb34b32e532815ab (patch)
treefc1546f4a170a51d7467fee2ed12a6e70cb0d02b /library/platform_util.c
parent249b3d6efe776929288f088c2ee487c90db0957b (diff)
Remove the library provided function of MBEDTLS_PARAM_FAILED
The function called through the macro MBEDTLS_PARAM_FAILED() must be supplied by users and makes no sense as a library function, apart from debug and test.
Diffstat (limited to 'library/platform_util.c')
-rw-r--r--library/platform_util.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/library/platform_util.c b/library/platform_util.c
index 61ed926f..756e2267 100644
--- a/library/platform_util.c
+++ b/library/platform_util.c
@@ -134,11 +134,3 @@ struct tm *mbedtls_platform_gmtime_r( const mbedtls_time_t *tt,
#endif /* _WIN32 && !EFIX64 && !EFI32 */
}
#endif /* MBEDTLS_HAVE_TIME_DATE && MBEDTLS_PLATFORM_GMTIME_R_ALT */
-
-#if defined( MBEDTLS_CHECK_PARAMS ) && defined(MBEDTLS_PLATFORM_C) && \
- defined(MBEDTLS_DEBUG_INVALID_PARAMS)
-void mbedtls_param_failed( char* failure_condition )
-{
- mbedtls_printf("%s:%i: Input param failed - %s\n", __FILE__, __LINE__, failure_condition );
-}
-#endif