diff options
author | beck <> | 2024-02-03 15:58:34 +0000 |
---|---|---|
committer | beck <> | 2024-02-03 15:58:34 +0000 |
commit | feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3 (patch) | |
tree | dc1f0834366a35df8a6de61e2722798629d7c4c2 /src/usr.bin/openssl/openssl.c | |
parent | a931b9fe4c471545a30c6975c303fa27abc695af (diff) | |
download | openbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.tar.gz openbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.tar.bz2 openbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.zip |
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 'src/usr.bin/openssl/openssl.c')
-rw-r--r-- | src/usr.bin/openssl/openssl.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index e5ff31a2c5..7a42b70f2b 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: openssl.c,v 1.35 2023/06/11 13:02:10 jsg Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.36 2024/02/03 15:58:34 beck 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 | * |
@@ -211,12 +211,6 @@ FUNCTION functions[] = { | |||
211 | #endif | 211 | #endif |
212 | 212 | ||
213 | /* Message Digests. */ | 213 | /* Message Digests. */ |
214 | #ifndef OPENSSL_NO_GOST | ||
215 | { FUNC_TYPE_MD, "gost-mac", dgst_main }, | ||
216 | { FUNC_TYPE_MD, "md_gost94", dgst_main }, | ||
217 | { FUNC_TYPE_MD, "streebog256", dgst_main }, | ||
218 | { FUNC_TYPE_MD, "streebog512", dgst_main }, | ||
219 | #endif | ||
220 | #ifndef OPENSSL_NO_MD4 | 214 | #ifndef OPENSSL_NO_MD4 |
221 | { FUNC_TYPE_MD, "md4", dgst_main }, | 215 | { FUNC_TYPE_MD, "md4", dgst_main }, |
222 | #endif | 216 | #endif |