From 97dc5832c5e70b4553ec8958f4fe40dccd2823f6 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Wed, 28 Aug 2024 09:34:34 +0200 Subject: [PATCH] Improve debug logs Signed-off-by: Ronald Cron --- library/ssl_msg.c | 4 ++-- tests/opt-testcases/tls13-misc.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index 58063c7f11..f7c12a85dc 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -5603,11 +5603,11 @@ static int ssl_tls13_handle_hs_message_post_handshake(mbedtls_ssl_context *ssl) MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET); return MBEDTLS_ERR_SSL_WANT_READ; } else { - MBEDTLS_SSL_DEBUG_MSG(3, ("Ignore NewSessionTicket, disabled.")); + MBEDTLS_SSL_DEBUG_MSG(3, ("Ignoring NewSessionTicket, handling disabled.")); return 0; } #else - MBEDTLS_SSL_DEBUG_MSG(3, ("Ignore NewSessionTicket, not supported.")); + MBEDTLS_SSL_DEBUG_MSG(3, ("Ignoring NewSessionTicket, not supported.")); return 0; #endif } diff --git a/tests/opt-testcases/tls13-misc.sh b/tests/opt-testcases/tls13-misc.sh index 17beab67a1..90ae3b2b57 100755 --- a/tests/opt-testcases/tls13-misc.sh +++ b/tests/opt-testcases/tls13-misc.sh @@ -839,7 +839,7 @@ run_test "TLS 1.3 m->O: resumption fails, no ticket support" \ -c "Protocol is TLSv1.3" \ -C "Saving session for reuse... ok" \ -C "Reconnecting with saved session... ok" \ - -c "Ignore NewSessionTicket, not supported." + -c "Ignoring NewSessionTicket, not supported." requires_openssl_tls1_3_with_compatible_ephemeral requires_all_configs_enabled MBEDTLS_SSL_CLI_C \ @@ -853,7 +853,7 @@ run_test "TLS 1.3 m->O: resumption fails, ticket handling disabled" \ -c "Protocol is TLSv1.3" \ -C "Saving session for reuse... ok" \ -C "Reconnecting with saved session... ok" \ - -c "Ignore NewSessionTicket, disabled." + -c "Ignoring NewSessionTicket, handling disabled." # No early data m->O tests for the time being. The option -early_data is needed # to enable early data on OpenSSL server and it is not compatible with the @@ -913,7 +913,7 @@ run_test "TLS 1.3 m->G: resumption fails, no ticket support" \ -c "Protocol is TLSv1.3" \ -C "Saving session for reuse... ok" \ -C "Reconnecting with saved session... ok" \ - -c "Ignore NewSessionTicket, not supported." + -c "Ignoring NewSessionTicket, not supported." requires_gnutls_tls1_3 requires_all_configs_enabled MBEDTLS_SSL_CLI_C \ @@ -927,7 +927,7 @@ run_test "TLS 1.3 m->G: resumption fails, ticket handling disabled" \ -c "Protocol is TLSv1.3" \ -C "Saving session for reuse... ok" \ -C "Reconnecting with saved session... ok" \ - -c "Ignore NewSessionTicket, disabled." + -c "Ignoring NewSessionTicket, handling disabled." requires_gnutls_tls1_3 requires_all_configs_enabled MBEDTLS_SSL_CLI_C \