mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-15 03:07:16 +08:00
Improve debug logs
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
fc76718dcd
commit
97dc5832c5
@ -5603,11 +5603,11 @@ static int ssl_tls13_handle_hs_message_post_handshake(mbedtls_ssl_context *ssl)
|
|||||||
MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET);
|
MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET);
|
||||||
return MBEDTLS_ERR_SSL_WANT_READ;
|
return MBEDTLS_ERR_SSL_WANT_READ;
|
||||||
} else {
|
} else {
|
||||||
MBEDTLS_SSL_DEBUG_MSG(3, ("Ignore NewSessionTicket, disabled."));
|
MBEDTLS_SSL_DEBUG_MSG(3, ("Ignoring NewSessionTicket, handling disabled."));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
MBEDTLS_SSL_DEBUG_MSG(3, ("Ignore NewSessionTicket, not supported."));
|
MBEDTLS_SSL_DEBUG_MSG(3, ("Ignoring NewSessionTicket, not supported."));
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -839,7 +839,7 @@ run_test "TLS 1.3 m->O: resumption fails, no ticket support" \
|
|||||||
-c "Protocol is TLSv1.3" \
|
-c "Protocol is TLSv1.3" \
|
||||||
-C "Saving session for reuse... ok" \
|
-C "Saving session for reuse... ok" \
|
||||||
-C "Reconnecting with saved session... 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_openssl_tls1_3_with_compatible_ephemeral
|
||||||
requires_all_configs_enabled MBEDTLS_SSL_CLI_C \
|
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 "Protocol is TLSv1.3" \
|
||||||
-C "Saving session for reuse... ok" \
|
-C "Saving session for reuse... ok" \
|
||||||
-C "Reconnecting with saved session... 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
|
# 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
|
# 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 "Protocol is TLSv1.3" \
|
||||||
-C "Saving session for reuse... ok" \
|
-C "Saving session for reuse... ok" \
|
||||||
-C "Reconnecting with saved session... ok" \
|
-C "Reconnecting with saved session... ok" \
|
||||||
-c "Ignore NewSessionTicket, not supported."
|
-c "Ignoring NewSessionTicket, not supported."
|
||||||
|
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_all_configs_enabled MBEDTLS_SSL_CLI_C \
|
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 "Protocol is TLSv1.3" \
|
||||||
-C "Saving session for reuse... ok" \
|
-C "Saving session for reuse... ok" \
|
||||||
-C "Reconnecting with saved session... ok" \
|
-C "Reconnecting with saved session... ok" \
|
||||||
-c "Ignore NewSessionTicket, disabled."
|
-c "Ignoring NewSessionTicket, handling disabled."
|
||||||
|
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_all_configs_enabled MBEDTLS_SSL_CLI_C \
|
requires_all_configs_enabled MBEDTLS_SSL_CLI_C \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user