From 1510cea0f32f745c540fdbd10beaa9da563eec12 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Wed, 12 Jan 2022 10:56:49 +0800 Subject: [PATCH] fix coding style issues Signed-off-by: Jerry Yu --- library/ssl_tls.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 844d5c3d9..55c5e14e1 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -7252,14 +7252,14 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl, if( group_list == NULL ) return( MBEDTLS_ERR_SSL_BAD_CONFIG ); - for ( ; *group_list != 0; group_list++ ) + for( ; *group_list != 0; group_list++ ) { - MBEDTLS_SSL_DEBUG_MSG( 1, ("got supported group(%04x)",*group_list)); + MBEDTLS_SSL_DEBUG_MSG( 1, ( "got supported group(%04x)", *group_list ) ); #if defined(MBEDTLS_ECP_C) - if( ( mbedtls_ssl_conf_is_tls13_enabled(ssl->conf) && + if( ( mbedtls_ssl_conf_is_tls13_enabled( ssl->conf ) && mbedtls_ssl_tls13_named_group_is_ecdhe( *group_list ) ) || - ( mbedtls_ssl_conf_is_tls12_enabled(ssl->conf) && + ( mbedtls_ssl_conf_is_tls12_enabled( ssl->conf ) && mbedtls_ssl_tls12_named_group_is_ecdhe( *group_list ) ) ) { const mbedtls_ecp_curve_info *curve_info; @@ -7279,7 +7279,7 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl, } - /* Length of named_group_list*/ + /* Length of named_group_list */ named_group_list_len = p - named_group_list; if( named_group_list_len == 0 ) {