summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_cert.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2024-02-03 15:58:35 +0000
committerBob Beck <beck@cvs.openbsd.org>2024-02-03 15:58:35 +0000
commit5c91698c33884b0a3f6cce362413c024017dbe9c (patch)
tree10b02c1399174e2eaef8bc83832956c73b6b7605 /lib/libssl/ssl_cert.c
parent54c4f0c0f8217322ebbc0437d59ac083f2184a19 (diff)
Remove GOST and STREEBOG support from libssl.
This version of GOST is old and not anywhere close to compliant with modern GOST standards. It is also very intrusive in libssl and makes a mess everywhere. Efforts to entice a suitably minded anyone to care about it have been unsuccessful. At this point it is probably best to remove this, and if someone ever showed up who truly needed a working version, it should be a clean implementation from scratch, and have it use something closer to the typical API in libcrypto so it would integrate less painfully here. This removes it from libssl in preparation for it's removal from libcrypto with a future major bump ok tb@
Diffstat (limited to 'lib/libssl/ssl_cert.c')
-rw-r--r--lib/libssl/ssl_cert.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/ssl_cert.c b/lib/libssl/ssl_cert.c
index a288050269c..5b2fe1a48d3 100644
--- a/lib/libssl/ssl_cert.c
+++ b/lib/libssl/ssl_cert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_cert.c,v 1.107 2023/07/08 16:40:13 beck Exp $ */
+/* $OpenBSD: ssl_cert.c,v 1.108 2024/02/03 15:58:33 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -233,10 +233,6 @@ ssl_cert_dup(SSL_CERT *cert)
/* We have an ECC key */
break;
- case SSL_PKEY_GOST01:
- /* We have a GOST key */
- break;
-
default:
/* Can't happen. */
SSLerrorx(SSL_R_LIBRARY_BUG);