add ticket max_early_data_size check

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-11-27 15:27:59 +08:00
parent 5233539d9f
commit db97163ac7

View file

@ -247,6 +247,11 @@ static int ssl_tls13_offered_psks_check_identity_match_ticket(
#endif /* MBEDTLS_HAVE_TIME */
#if defined(MBEDTLS_SSL_EARLY_DATA)
MBEDTLS_SSL_DEBUG_MSG(2, ("ticket->max_early_data_size=%u",
(unsigned int) session->max_early_data_size));
#endif
exit:
if (ret != 0) {
mbedtls_ssl_session_free(session);