summaryrefslogtreecommitdiffstats
path: root/ssl/d1_pkt.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-27 21:14:12 +0100
committerRich Salz <rsalz@openssl.org>2015-01-27 21:14:12 +0100
commitdaa48704cc04c61cf8f3e74759a7a3139b6aff01 (patch)
tree049cb13eb8b74d8e2a0a1e2a89612db39f226152 /ssl/d1_pkt.c
parentOPENSSL_NO_xxx cleanup: SHA (diff)
downloadopenssl-daa48704cc04c61cf8f3e74759a7a3139b6aff01.tar.xz
openssl-daa48704cc04c61cf8f3e74759a7a3139b6aff01.zip
OPENSSL_NO_XXX cleanup: NO_TLS, NO_TLS1
TLS and TLS1 are no longer optional. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/d1_pkt.c')
-rw-r--r--ssl/d1_pkt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index 598002b15f..331a50f515 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -1343,13 +1343,11 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
switch (rr->type) {
default:
-#ifndef OPENSSL_NO_TLS
/* TLS just ignores unknown message types */
if (s->version == TLS1_VERSION) {
rr->length = 0;
goto start;
}
-#endif
al = SSL_AD_UNEXPECTED_MESSAGE;
SSLerr(SSL_F_DTLS1_READ_BYTES, SSL_R_UNEXPECTED_RECORD);
goto f_err;