Fix indentation and add goto cleanup; stmt
diff --git a/library/ripemd160.c b/library/ripemd160.c
index 0fc12a1..bf5058f 100644
--- a/library/ripemd160.c
+++ b/library/ripemd160.c
@@ -378,11 +378,11 @@
ret = mbedtls_ripemd160_update_ext( ctx, ripemd160_padding, padn );
if( ret != 0 )
- return( ret );
+ return( ret );
ret = mbedtls_ripemd160_update_ext( ctx, msglen, 8 );
if( ret != 0 )
- return( ret );
+ return( ret );
PUT_UINT32_LE( ctx->state[0], output, 0 );
PUT_UINT32_LE( ctx->state[1], output, 4 );