mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Fix code styling for return statements
This commit is contained in:
parent
3c38f29a61
commit
d8bb82665e
27 changed files with 256 additions and 256 deletions
|
|
@ -87,7 +87,7 @@ cleanup:
|
|||
if( NULL != cert_blob )
|
||||
polarssl_free( cert_blob );
|
||||
|
||||
return ret;
|
||||
return( ret );
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ int pkcs11_priv_key_init( pkcs11_context *priv_key,
|
|||
cleanup:
|
||||
x509_crt_free( &cert );
|
||||
|
||||
return ret;
|
||||
return( ret );
|
||||
}
|
||||
|
||||
void pkcs11_priv_key_free( pkcs11_context *priv_key )
|
||||
|
|
@ -172,10 +172,10 @@ int pkcs11_sign( pkcs11_context *ctx,
|
|||
const char *oid;
|
||||
|
||||
if( NULL == ctx )
|
||||
return POLARSSL_ERR_RSA_BAD_INPUT_DATA;
|
||||
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
||||
|
||||
if( RSA_PRIVATE != mode )
|
||||
return POLARSSL_ERR_RSA_BAD_INPUT_DATA;
|
||||
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
||||
|
||||
if( md_alg != POLARSSL_MD_NONE )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue