mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 14:45:32 +00:00
Use goto exit instead of direct return
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
a9eecf1b19
commit
785958577e
|
@ -1692,7 +1692,7 @@ int main( int argc, char *argv[] )
|
|||
{
|
||||
opt.query_config_mode = 1;
|
||||
query_config_ret = query_config( q );
|
||||
mbedtls_exit( ret );
|
||||
goto exit;
|
||||
}
|
||||
else if( strcmp( p, "serialize") == 0 )
|
||||
{
|
||||
|
@ -2691,7 +2691,7 @@ int main( int argc, char *argv[] )
|
|||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_ssl_set_cid returned %d\n\n",
|
||||
ret );
|
||||
return( ret );
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
|
||||
|
|
|
@ -2392,7 +2392,7 @@ int main( int argc, char *argv[] )
|
|||
{
|
||||
opt.query_config_mode = 1;
|
||||
query_config_ret = query_config( q );
|
||||
mbedtls_exit( ret );
|
||||
goto exit;
|
||||
}
|
||||
else if( strcmp( p, "serialize") == 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue