Fix style issues introduced earlier
diff --git a/library/ecdsa.c b/library/ecdsa.c
index 6730762..8d1f9d6 100644
--- a/library/ecdsa.c
+++ b/library/ecdsa.c
@@ -189,7 +189,8 @@
#define ECDSA_RS_LEAVE( SUB ) do { \
/* clear our sub-context when not in progress (done or error) */ \
- if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) { \
+ if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) \
+ { \
ecdsa_restart_## SUB ##_free( rs_ctx->SUB ); \
mbedtls_free( rs_ctx->SUB ); \
rs_ctx->SUB = NULL; \
diff --git a/library/ecp.c b/library/ecp.c
index 9b586ee..74a19ee 100644
--- a/library/ecp.c
+++ b/library/ecp.c
@@ -147,7 +147,8 @@
mbedtls_ecp_point_free( &ctx->R );
- if( ctx->T != NULL ) {
+ if( ctx->T != NULL )
+ {
for( i = 0; i < ctx->T_size; i++ )
mbedtls_ecp_point_free( ctx->T + i );
mbedtls_free( ctx->T );
@@ -1907,7 +1908,8 @@
/* clear our sub-context when not in progress (done or error) */
#if defined(MBEDTLS_ECP_RESTARTABLE)
- if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) {
+ if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS )
+ {
ecp_restart_mul_free( rs_ctx->rsm );
mbedtls_free( rs_ctx->rsm );
rs_ctx->rsm = NULL;
@@ -2392,7 +2394,8 @@
#if defined(MBEDTLS_ECP_RESTARTABLE)
/* clear our sub-context when not in progress (done or error) */
- if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) {
+ if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS )
+ {
ecp_restart_muladd_free( rs_ctx->ma );
mbedtls_free( rs_ctx->ma );
rs_ctx->ma = NULL;
diff --git a/library/pk_wrap.c b/library/pk_wrap.c
index d3933a0..8b94d81 100644
--- a/library/pk_wrap.c
+++ b/library/pk_wrap.c
@@ -307,7 +307,8 @@
cleanup:
/* clear our sub-context when not in progress (done or error) */
- if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) {
+ if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS )
+ {
mbedtls_ecdsa_free( rs_ctx->ecdsa );
mbedtls_free( rs_ctx->ecdsa );
rs_ctx->ecdsa = NULL;
@@ -357,7 +358,8 @@
cleanup:
/* clear our sub-context when not in progress (done or error) */
- if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS ) {
+ if( rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS )
+ {
mbedtls_ecdsa_free( rs_ctx->ecdsa );
mbedtls_free( rs_ctx->ecdsa );
rs_ctx->ecdsa = NULL;