diff options
| author | jsing <> | 2015-09-10 17:57:50 +0000 |
|---|---|---|
| committer | jsing <> | 2015-09-10 17:57:50 +0000 |
| commit | 6a01e44e5bb9917370be7048957c7d999d847bb6 (patch) | |
| tree | b6e132390b9936d3bc45c6b7e5f7567e5fabce5b /src/lib/libssl/s3_srvr.c | |
| parent | d65ad2c1f2794d3d6f1cd74e64b738ee9904a95b (diff) | |
| download | openbsd-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 '')
| -rw-r--r-- | src/lib/libssl/s3_srvr.c | 4 |
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); |
