fix format and comment issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_tls13_keys.c b/library/ssl_tls13_keys.c
index 8d01fc8..c5ec5bf 100644
--- a/library/ssl_tls13_keys.c
+++ b/library/ssl_tls13_keys.c
@@ -359,7 +359,7 @@
ret = 0;
- if( ( input != NULL ) && ( input_len != 0 ) )
+ if( input != NULL && input_len != 0 )
{
memcpy( tmp_input, input, input_len );
ilen = input_len;
@@ -1579,7 +1579,7 @@
return( 0 );
status = psa_get_key_attributes( ssl->handshake->psk_opaque, &key_attributes );
- if( status != PSA_SUCCESS)
+ if( status != PSA_SUCCESS )
{
return( psa_ssl_status_to_mbedtls( status ) );
}
@@ -1593,7 +1593,7 @@
status = psa_export_key( ssl->handshake->psk_opaque,
(uint8_t *)*psk, *psk_len, psk_len );
- if( status != PSA_SUCCESS)
+ if( status != PSA_SUCCESS )
{
mbedtls_free( (void *)*psk );
return( psa_ssl_status_to_mbedtls( status ) );