diff options
author | jsing <> | 2014-06-11 15:17:19 +0000 |
---|---|---|
committer | jsing <> | 2014-06-11 15:17:19 +0000 |
commit | 563d45f5e31be40b590640330f1a08569995ef28 (patch) | |
tree | ab13f82dcf0f6baca1cef4ba121da7c03a13fac8 /src/lib/libssl/s3_pkt.c | |
parent | b9b725514027a560daae1c5518c700360b5764bc (diff) | |
download | openbsd-563d45f5e31be40b590640330f1a08569995ef28.tar.gz openbsd-563d45f5e31be40b590640330f1a08569995ef28.tar.bz2 openbsd-563d45f5e31be40b590640330f1a08569995ef28.zip |
Disable TLS support...
Just kidding!
unifdef OPENSSL_NO_TLS since we will never want to actually do that.
ok deraadt@
Diffstat (limited to 'src/lib/libssl/s3_pkt.c')
-rw-r--r-- | src/lib/libssl/s3_pkt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_pkt.c b/src/lib/libssl/s3_pkt.c index e19aba5580..9af897eb47 100644 --- a/src/lib/libssl/s3_pkt.c +++ b/src/lib/libssl/s3_pkt.c | |||
@@ -1304,7 +1304,6 @@ start: | |||
1304 | 1304 | ||
1305 | switch (rr->type) { | 1305 | switch (rr->type) { |
1306 | default: | 1306 | default: |
1307 | #ifndef OPENSSL_NO_TLS | ||
1308 | /* | 1307 | /* |
1309 | * TLS up to v1.1 just ignores unknown message types: | 1308 | * TLS up to v1.1 just ignores unknown message types: |
1310 | * TLS v1.2 give an unexpected message alert. | 1309 | * TLS v1.2 give an unexpected message alert. |
@@ -1314,7 +1313,6 @@ start: | |||
1314 | rr->length = 0; | 1313 | rr->length = 0; |
1315 | goto start; | 1314 | goto start; |
1316 | } | 1315 | } |
1317 | #endif | ||
1318 | al = SSL_AD_UNEXPECTED_MESSAGE; | 1316 | al = SSL_AD_UNEXPECTED_MESSAGE; |
1319 | SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_UNEXPECTED_RECORD); | 1317 | SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_UNEXPECTED_RECORD); |
1320 | goto f_err; | 1318 | goto f_err; |