From 563d45f5e31be40b590640330f1a08569995ef28 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 11 Jun 2014 15:17:19 +0000 Subject: Disable TLS support... Just kidding! unifdef OPENSSL_NO_TLS since we will never want to actually do that. ok deraadt@ --- src/lib/libssl/d1_pkt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/libssl/d1_pkt.c') diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 87916eb763..b8fd4c92e5 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c @@ -1161,13 +1161,11 @@ start: 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; -- cgit v1.2.3-55-g6feb