From c79742303d5aea0c94cc922452da2e7bfa267aa0 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 11 Oct 2022 21:22:33 +0800 Subject: [PATCH] Remove unnecessary empty line and fix format issue Signed-off-by: Jerry Yu --- library/ssl_tls13_client.c | 2 -- programs/ssl/ssl_server2.c | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c index 6227f3d0b..2b59b4aae 100644 --- a/library/ssl_tls13_client.c +++ b/library/ssl_tls13_client.c @@ -677,7 +677,6 @@ static psa_algorithm_t ssl_tls13_get_ciphersuite_hash_alg( int ciphersuite ) } #if defined(MBEDTLS_SSL_SESSION_TICKETS) - static int ssl_tls13_has_configured_ticket( mbedtls_ssl_context *ssl ) { mbedtls_ssl_session *session = ssl->session_negotiate; @@ -720,7 +719,6 @@ static int ssl_tls13_ticket_get_psk( mbedtls_ssl_context *ssl, return( 0 ); } - #endif /* MBEDTLS_SSL_SESSION_TICKETS */ static int ssl_tls13_has_configured_psk( const mbedtls_ssl_config *conf ) diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index a68136c17..6242e6eeb 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -3013,7 +3013,9 @@ int main( int argc, char *argv[] ) opt.ticket_aead, opt.ticket_timeout ) ) != 0 ) { - mbedtls_printf( " failed\n ! mbedtls_ssl_ticket_setup returned %d\n\n", ret ); + mbedtls_printf( + " failed\n ! mbedtls_ssl_ticket_setup returned %d\n\n", + ret ); goto exit; }