diff options
author | David Benjamin <davidben@chromium.org> | 2014-11-01 19:33:15 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-11-04 03:26:01 +0300 |
commit | a0ca1b742f426abd879adea8567fa1c9a774447e (patch) | |
tree | 674b6eee6de1bf0579b9bcb700f10c4703ddd9e3 /ssl/d1_both.c | |
parent | be700c6328157c722cbfe96b08a39a8e71b05d07 (diff) |
DTLS1_AD_MISSING_HANDSHAKE_MESSAGE does not exist.
This code isn't compiled in. It seems there was some half-baked logic for a
7-byte alert that includes more information about handshake messages
retransmit.
No such alert exists, and the code had a FIXME anyway. If it gets resurrected
in DTLS 1.3 or some extension, we can deal with it then.
Change-Id: I8784ea8ee44bb8da4b0fe5d5d507997526557432
Reviewed-on: https://boringssl-review.googlesource.com/2121
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r-- | ssl/d1_both.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c index 8b225e58..82d4a865 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -992,21 +992,6 @@ int dtls1_read_failed(SSL *s, int code) return code; } -#if 0 /* for now, each alert contains only one record number */ - item = pqueue_peek(state->rcvd_records); - if ( item ) - { - /* send an alert immediately for all the missing records */ - } - else -#endif - -#if 0 /* no more alert sending, just retransmit the last set of messages */ - if ( state->timeout.read_timeouts >= DTLS1_TMO_READ_COUNT) - ssl3_send_alert(s,SSL3_AL_WARNING, - DTLS1_AD_MISSING_HANDSHAKE_MESSAGE); -#endif - return dtls1_handle_timeout(s); } |