Fix formatting in various code to match spacing from coding style
diff --git a/library/pkparse.c b/library/pkparse.c
index 218f38a..3c8063f 100644
--- a/library/pkparse.c
+++ b/library/pkparse.c
@@ -120,7 +120,7 @@
size_t n;
unsigned char *buf;
- if ( (ret = load_file( path, &buf, &n ) ) != 0 )
+ if( ( ret = load_file( path, &buf, &n ) ) != 0 )
return( ret );
if( pwd == NULL )
@@ -144,7 +144,7 @@
size_t n;
unsigned char *buf;
- if ( (ret = load_file( path, &buf, &n ) ) != 0 )
+ if( ( ret = load_file( path, &buf, &n ) ) != 0 )
return( ret );
ret = pk_parse_public_key( ctx, buf, n );
@@ -810,7 +810,7 @@
return( POLARSSL_ERR_PK_KEY_INVALID_FORMAT );
}
}
- else if ( ret != POLARSSL_ERR_ASN1_UNEXPECTED_TAG )
+ else if( ret != POLARSSL_ERR_ASN1_UNEXPECTED_TAG )
{
ecp_keypair_free( eck );
return( POLARSSL_ERR_PK_KEY_INVALID_FORMAT + ret );