mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-11 04:52:56 +00: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