mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix indentation and add goto cleanup; stmt
This commit is contained in:
@ -320,10 +320,10 @@ int mbedtls_sha256_finish_ext( mbedtls_sha256_context *ctx,
|
||||
padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last );
|
||||
|
||||
if( ( ret = mbedtls_sha256_update_ext( ctx, sha256_padding, padn ) ) != 0 )
|
||||
return( ret );
|
||||
return( ret );
|
||||
|
||||
if( ( ret = mbedtls_sha256_update_ext( ctx, msglen, 8 ) ) != 0 )
|
||||
return( ret );
|
||||
return( ret );
|
||||
|
||||
PUT_UINT32_BE( ctx->state[0], output, 0 );
|
||||
PUT_UINT32_BE( ctx->state[1], output, 4 );
|
||||
|
Reference in New Issue
Block a user