summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-02-08 17:20:47 +0000
committerjsing <jsing@openbsd.org>2021-02-08 17:20:47 +0000
commit10b295afc013f860b231131232decaa92b0ef4c0 (patch)
tree7ed0c79d6a900ced7c9d11d17e049033bcdc27db /lib/libssl/ssl_lib.c
parentEnforce read ahead with DTLS. (diff)
downloadwireguard-openbsd-10b295afc013f860b231131232decaa92b0ef4c0.tar.xz
wireguard-openbsd-10b295afc013f860b231131232decaa92b0ef4c0.zip
Remove bogus DTLS checks to disable ECC and OCSP.
ECC and OCSP can be used with DTLS, so remove bogus checks that currently prevent it. These are long lasting remnants from the original OpenSSL code. ok tb@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index b67f8569cc2..a48d97f17e4 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.244 2021/01/28 17:00:38 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.245 2021/02/08 17:20:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1368,8 +1368,6 @@ ssl_has_ecc_ciphers(SSL *s)
SSL_CIPHER *cipher;
int i;
- if (s->version == DTLS1_VERSION)
- return 0;
if ((ciphers = SSL_get_ciphers(s)) == NULL)
return 0;