summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <>2021-02-08 17:20:47 +0000
committerjsing <>2021-02-08 17:20:47 +0000
commit926ce18e7111ed216cb29761d69533568f55f9e4 (patch)
treeec8ceaf50b7d51e2756dc97220dcddfa84c27a19 /src/lib/libssl/ssl_lib.c
parent26ebb1aca573689e2b08aebdb451eec9d40ea174 (diff)
downloadopenbsd-926ce18e7111ed216cb29761d69533568f55f9e4.tar.gz
openbsd-926ce18e7111ed216cb29761d69533568f55f9e4.tar.bz2
openbsd-926ce18e7111ed216cb29761d69533568f55f9e4.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 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c4
1 files changed, 1 insertions, 3 deletions
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 @@
1/* $OpenBSD: ssl_lib.c,v 1.244 2021/01/28 17:00:38 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.245 2021/02/08 17:20:47 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 *
@@ -1368,8 +1368,6 @@ ssl_has_ecc_ciphers(SSL *s)
1368 SSL_CIPHER *cipher; 1368 SSL_CIPHER *cipher;
1369 int i; 1369 int i;
1370 1370
1371 if (s->version == DTLS1_VERSION)
1372 return 0;
1373 if ((ciphers = SSL_get_ciphers(s)) == NULL) 1371 if ((ciphers = SSL_get_ciphers(s)) == NULL)
1374 return 0; 1372 return 0;
1375 1373