From 7f029d8a9494283f8df9bb7013e0ebf51af204dc Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 11 Jan 2022 11:08:53 +0800 Subject: [PATCH] fix coding style issues Signed-off-by: Jerry Yu --- library/ssl_tls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index e2ad47b8cd..bb533c957a 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -7294,7 +7294,7 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl, continue; } - MBEDTLS_SSL_CHK_BUF_PTR( p, end, 2); + MBEDTLS_SSL_CHK_BUF_PTR( p, end, 2 ); MBEDTLS_PUT_UINT16_BE( *group_list, p, 0 ); p += 2; @@ -7315,7 +7315,8 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl, /* Write length of named_group_list */ MBEDTLS_PUT_UINT16_BE( named_group_list_len, buf, 4 ); - MBEDTLS_SSL_DEBUG_BUF( 3, "Supported groups extension", buf + 4, named_group_list_len + 2 ); + MBEDTLS_SSL_DEBUG_BUF( 3, "Supported groups extension", + buf + 4, named_group_list_len + 2 ); *out_len = p - buf;