tls13: srv: Do not forget to include max_early_data_size in the ticket

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2024-03-01 09:03:51 +01:00
parent 26a9811027
commit c286519747
+1
View File
@@ -3141,6 +3141,7 @@ static int ssl_tls13_prepare_new_session_ticket(mbedtls_ssl_context *ssl,
ssl->conf->max_early_data_size > 0) {
mbedtls_ssl_tls13_session_set_ticket_flags(
session, MBEDTLS_SSL_TLS1_3_TICKET_ALLOW_EARLY_DATA);
session->max_early_data_size = ssl->conf->max_early_data_size;
}
#endif /* MBEDTLS_SSL_EARLY_DATA */