diff --git a/ssl/internal.h b/ssl/internal.h index ed5172cf..14e5e4aa 100644 --- a/ssl/internal.h +++ b/ssl/internal.h @@ -1074,10 +1074,6 @@ struct ssl_handshake_st { uint8_t *key_block; uint8_t key_block_len; - /* session_tickets_sent, in TLS 1.3, is the number of tickets the server has - * sent. */ - uint8_t session_tickets_sent; - /* scts_requested is one if the SCT extension is in the ClientHello. */ unsigned scts_requested:1; diff --git a/ssl/tls13_server.c b/ssl/tls13_server.c index 4854002b..8b71da0c 100644 --- a/ssl/tls13_server.c +++ b/ssl/tls13_server.c @@ -735,7 +735,6 @@ static enum ssl_hs_wait_t do_send_new_session_ticket(SSL_HANDSHAKE *hs) { } } - hs->session_tickets_sent++; hs->tls13_state = state_done; return ssl_hs_flush;