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/ssl_sess.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/ssl_sess.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index 5d18c8a0b4..7052e8aa56 100644 --- a/src/lib/libssl/ssl_sess.c +++ b/src/lib/libssl/ssl_sess.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_sess.c,v 1.47 2015/09/10 15:56:26 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_sess.c,v 1.48 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 | * |
| @@ -303,7 +303,6 @@ ssl_get_new_session(SSL *s, int session) | |||
| 303 | case TLS1_VERSION: | 303 | case TLS1_VERSION: |
| 304 | case TLS1_1_VERSION: | 304 | case TLS1_1_VERSION: |
| 305 | case TLS1_2_VERSION: | 305 | case TLS1_2_VERSION: |
| 306 | case DTLS1_BAD_VER: | ||
| 307 | case DTLS1_VERSION: | 306 | case DTLS1_VERSION: |
| 308 | ss->ssl_version = s->version; | 307 | ss->ssl_version = s->version; |
| 309 | ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; | 308 | ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; |
