mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-31 00:32:50 +00:00
add ticket max_early_data_size check
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
5233539d9f
commit
db97163ac7
@ -247,6 +247,11 @@ static int ssl_tls13_offered_psks_check_identity_match_ticket(
|
|||||||
|
|
||||||
#endif /* MBEDTLS_HAVE_TIME */
|
#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:
|
exit:
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
mbedtls_ssl_session_free(session);
|
mbedtls_ssl_session_free(session);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user