From 3cb12467ccf1ccbad0adcb909f58916c9688b637 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sat, 25 Mar 2017 20:15:34 -0500 Subject: [PATCH] Remove session_tickets_sent. This is a remnant of before we made the handshake write flight by flight. Change-Id: I94c0105bb071ffca9ff5aa4c4bf43311c750b49a Reviewed-on: https://boringssl-review.googlesource.com/14369 Reviewed-by: Steven Valdez Reviewed-by: David Benjamin Commit-Queue: Steven Valdez Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- ssl/internal.h | 4 ---- ssl/tls13_server.c | 1 - 2 files changed, 5 deletions(-) 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;