1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Add dummy ticket support

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu
2022-09-15 18:32:34 +08:00
parent b300e3c5be
commit 25ab654781
4 changed files with 339 additions and 13 deletions

View File

@ -186,8 +186,9 @@ static int ssl_tls13_offered_psks_check_identity_match_ticket(
if( now < session->start )
{
MBEDTLS_SSL_DEBUG_MSG(
3, ( "Ticket expired: now=%" MBEDTLS_PRINTF_LONGLONG
", start=%" MBEDTLS_PRINTF_LONGLONG,
3, ( "Ticket expired: start is in future "
"( now=%" MBEDTLS_PRINTF_LONGLONG
", start=%" MBEDTLS_PRINTF_LONGLONG " )",
(long long)now, (long long)session->start ) );
goto exit;
}