mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Add explicit checks for non-zero result of platform setup in test suites
This commit is contained in:
@ -133,7 +133,7 @@ mbedtls_platform_context platform_ctx;
|
||||
static int platform_setup()
|
||||
{
|
||||
#if defined(MBEDTLS_PLATFORM_C)
|
||||
if( mbedtls_platform_setup( &platform_ctx ) )
|
||||
if( mbedtls_platform_setup( &platform_ctx ) != 0 )
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user