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/t1_enc.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/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 0a4e0880..77120c43 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -1407,10 +1407,6 @@ int tls1_alert_code(int code) case SSL_AD_BAD_CERTIFICATE_HASH_VALUE: return(TLS1_AD_BAD_CERTIFICATE_HASH_VALUE); case SSL_AD_UNKNOWN_PSK_IDENTITY:return(TLS1_AD_UNKNOWN_PSK_IDENTITY); case SSL_AD_INAPPROPRIATE_FALLBACK:return(SSL3_AD_INAPPROPRIATE_FALLBACK); -#if 0 /* not appropriate for TLS, not used for DTLS */ - case DTLS1_AD_MISSING_HANDSHAKE_MESSAGE: return - (DTLS1_AD_MISSING_HANDSHAKE_MESSAGE); -#endif default: return(-1); } } |