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
commit6a01e44e5bb9917370be7048957c7d999d847bb6 (patch)
treeb6e132390b9936d3bc45c6b7e5f7567e5fabce5b /src/lib/libssl/s3_srvr.c
parentd65ad2c1f2794d3d6f1cd74e64b738ee9904a95b (diff)
downloadopenbsd-6a01e44e5bb9917370be7048957c7d999d847bb6.tar.gz
openbsd-6a01e44e5bb9917370be7048957c7d999d847bb6.tar.bz2
openbsd-6a01e44e5bb9917370be7048957c7d999d847bb6.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);