mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 15:14:17 +01:00
Fix indentation and add goto cleanup; stmt
This commit is contained in:
parent
b2b063ff35
commit
aa464ef23a
@ -436,7 +436,8 @@ int mbedtls_md_hmac( const mbedtls_md_info_t *md_info,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
if( ( ret = mbedtls_md_hmac_update( &ctx, input, ilen ) ) != 0 )
|
if( ( ret = mbedtls_md_hmac_update( &ctx, input, ilen ) ) != 0 )
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
ret = mbedtls_md_hmac_finish( &ctx, output );
|
if( ( ret = mbedtls_md_hmac_finish( &ctx, output ) ) != 0 )
|
||||||
|
goto cleanup;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
mbedtls_md_free( &ctx );
|
mbedtls_md_free( &ctx );
|
||||||
|
Loading…
Reference in New Issue
Block a user