summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-10 17:57:50 +0000
committerjsing <jsing@openbsd.org>2015-09-10 17:57:50 +0000
commit7489cb3d73fc4e7e6fbcb3405ecfe92417568096 (patch)
tree52300427064bf57df91835107ac1508cf77dd60d /lib/libssl/src/ssl/ssl_lib.c
parentuse .In rather than .Fd #include (diff)
downloadwireguard-openbsd-7489cb3d73fc4e7e6fbcb3405ecfe92417568096.tar.xz
wireguard-openbsd-7489cb3d73fc4e7e6fbcb3405ecfe92417568096.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 'lib/libssl/src/ssl/ssl_lib.c')
-rw-r--r--lib/libssl/src/ssl/ssl_lib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/src/ssl/ssl_lib.c b/lib/libssl/src/ssl/ssl_lib.c
index 8df885e9f77..7ace9fe688e 100644
--- a/lib/libssl/src/ssl/ssl_lib.c
+++ b/lib/libssl/src/ssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.107 2015/09/09 19:42:39 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.108 2015/09/10 17:57:50 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2545,8 +2545,6 @@ const char *
ssl_version_string(int ver)
{
switch (ver) {
- case DTLS1_BAD_VER:
- return (SSL_TXT_DTLS1_BAD);
case DTLS1_VERSION:
return (SSL_TXT_DTLS1);
case TLS1_VERSION: