summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorjsing <>2015-09-10 17:57:50 +0000
committerjsing <>2015-09-10 17:57:50 +0000
commitc4c220a34fb8ef8921b6629e0de8a0761a7d8a66 (patch)
treeb6e132390b9936d3bc45c6b7e5f7567e5fabce5b /src/lib/libssl/s3_srvr.c
parent3de7aa268622f5ee3cfe2831d0da81edc27f1d24 (diff)
downloadopenbsd-c4c220a34fb8ef8921b6629e0de8a0761a7d8a66.tar.gz
openbsd-c4c220a34fb8ef8921b6629e0de8a0761a7d8a66.tar.bz2
openbsd-c4c220a34fb8ef8921b6629e0de8a0761a7d8a66.zip
Remove support for DTLS_BAD_VER. We do not support non-standard and
incomplete implementations just so that we can interoperate with products from vendors who have not bothered to fix things in the last ~10 years. ok bcook@ miod@
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r--src/lib/libssl/s3_srvr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index b2c4f8e0d2..4bbc160d58 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_srvr.c,v 1.116 2015/09/10 15:56:26 jsing Exp $ */ 1/* $OpenBSD: s3_srvr.c,v 1.117 2015/09/10 17:57:50 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1650,7 +1650,7 @@ ssl3_get_client_key_exchange(SSL *s)
1650 rsa = pkey->pkey.rsa; 1650 rsa = pkey->pkey.rsa;
1651 1651
1652 /* TLS and [incidentally] DTLS{0xFEFF} */ 1652 /* TLS and [incidentally] DTLS{0xFEFF} */
1653 if (s->version > SSL3_VERSION && s->version != DTLS1_BAD_VER) { 1653 if (s->version > SSL3_VERSION) {
1654 if (2 > n) 1654 if (2 > n)
1655 goto truncated; 1655 goto truncated;
1656 n2s(p, i); 1656 n2s(p, i);