From 926ce18e7111ed216cb29761d69533568f55f9e4 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 8 Feb 2021 17:20:47 +0000 Subject: 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@ --- src/lib/libssl/ssl_lib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libssl/ssl_lib.c') diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index b67f8569cc..a48d97f17e 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/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; -- cgit v1.2.3-55-g6feb