mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Do not add a new field in the SSL config
We cannot add a new field in SSL config in an LTS. Use `session_tickets` field instead. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -5595,8 +5595,8 @@ static int ssl_tls13_handle_hs_message_post_handshake(mbedtls_ssl_context *ssl)
|
||||
if (ssl_tls13_is_new_session_ticket(ssl)) {
|
||||
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
||||
MBEDTLS_SSL_DEBUG_MSG(3, ("NewSessionTicket received"));
|
||||
if (ssl->conf->new_session_tickets_enabled ==
|
||||
MBEDTLS_SSL_ENABLE_NEW_SESSION_TICKETS_ENABLED) {
|
||||
if (mbedtls_ssl_conf_is_new_session_tickets_enabled(ssl->conf) ==
|
||||
MBEDTLS_SSL_NEW_SESSION_TICKETS_ENABLED) {
|
||||
ssl->keep_current_message = 1;
|
||||
|
||||
mbedtls_ssl_handshake_set_state(ssl,
|
||||
|
Reference in New Issue
Block a user