mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Add explicit checks for non-zero result of platform setup in test suites
This commit is contained in:
parent
32a675f032
commit
a282270a10
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue