mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Remove the invalid input for platform module
Remove the invalid input for the platform module, as it's not currently used in the Mbed OS platform setup \ termination code.
This commit is contained in:
parent
0ff4e0b824
commit
b0ad581526
3 changed files with 2 additions and 5 deletions
|
|
@ -826,8 +826,6 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
|||
#endif /* MBEDTLS_PADLOCK_C */
|
||||
|
||||
#if defined(MBEDTLS_PLATFORM_C)
|
||||
if( use_ret == -(MBEDTLS_ERR_PLATFORM_INVALID_DATA) )
|
||||
mbedtls_snprintf( buf, buflen, "PLATFORM - Bad input parameters to the platform function" );
|
||||
if( use_ret == -(MBEDTLS_ERR_PLATFORM_HW_FAILED) )
|
||||
mbedtls_snprintf( buf, buflen, "PLATFORM - Hardware platform function failed" );
|
||||
#endif /* MBEDTLS_PLATFORM_C */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue