diff options
author | David Benjamin <davidben@google.com> | 2016-06-18 02:16:23 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-06-27 23:11:19 +0300 |
commit | 778f57e511f5342a75510bca587abf366129a0f5 (patch) | |
tree | 9e06e5070a1e38d2f96bb91d74beccf16b9eb08a /ssl/d1_both.c | |
parent | 29a83c5a0c9a71670ddfeef6a2a68b666338e9ff (diff) |
Store only one handshake write sequence number.
The pair was a remnant of some weird statefulness and also ChangeCipherSpec
having a "sequence number" to make the pqueue turn into an array.
Change-Id: Iffd82594314df43934073bd141faee0fc167ed5f
Reviewed-on: https://boringssl-review.googlesource.com/8436
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r-- | ssl/d1_both.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c index 6b2a0193..9adc2aa7 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -749,8 +749,6 @@ int dtls1_buffer_message(SSL *ssl) { int dtls1_send_change_cipher_spec(SSL *ssl, int a, int b) { if (ssl->state == a) { - /* Buffer the message to handle retransmits. */ - ssl->d1->handshake_write_seq = ssl->d1->next_handshake_write_seq; dtls1_buffer_change_cipher_spec(ssl); ssl->state = b; } |