fix coding style issues

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-05-03 15:46:09 +08:00
parent 7c0da07445
commit 9da5e5a2f2

View file

@ -1106,7 +1106,6 @@ static int ssl_tls13_prepare_encrypted_extensions( mbedtls_ssl_context *ssl )
MBEDTLS_SSL_DEBUG_MSG( MBEDTLS_SSL_DEBUG_MSG(
3, ( "switching to new transform spec for outbound data" ) ); 3, ( "switching to new transform spec for outbound data" ) );
return( 0 ); return( 0 );
} }
@ -1124,6 +1123,7 @@ static int ssl_tls13_write_encrypted_extensions_body( mbedtls_ssl_context *ssl,
unsigned char *p = buf; unsigned char *p = buf;
size_t extensions_len = 0; size_t extensions_len = 0;
unsigned char *p_extensions_len; unsigned char *p_extensions_len;
*out_len = 0; *out_len = 0;
MBEDTLS_SSL_CHK_BUF_PTR( p, end, 2 ); MBEDTLS_SSL_CHK_BUF_PTR( p, end, 2 );