diff options
author | bcook <> | 2015-09-21 13:13:06 +0000 |
---|---|---|
committer | bcook <> | 2015-09-21 13:13:06 +0000 |
commit | a7268eae9e45cb1dc601928389cd071cc6f36afa (patch) | |
tree | 01e12acb7295c470e5ed0b99e233ce304661eef8 /src/usr.bin/openssl/openssl.c | |
parent | 94ec01d3ff752501f893d8a797cc46ab41e30333 (diff) | |
download | openbsd-a7268eae9e45cb1dc601928389cd071cc6f36afa.tar.gz openbsd-a7268eae9e45cb1dc601928389cd071cc6f36afa.tar.bz2 openbsd-a7268eae9e45cb1dc601928389cd071cc6f36afa.zip |
remove vestigial bits of sha-0 and md2 from openssl(1)
Noted by kinichiro on github. We probably need a better way to indicate the
list of message digests that are allowed, as the current ones are nowhere near
exhaustive (sigh - guenther@)
OK guenther@ jmc@
Diffstat (limited to 'src/usr.bin/openssl/openssl.c')
-rw-r--r-- | src/usr.bin/openssl/openssl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 604cfddcea..08132e8f96 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.12 2015/09/14 01:45:03 doug Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.13 2015/09/21 13:13:06 bcook 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 | * |
@@ -226,9 +226,6 @@ FUNCTION functions[] = { | |||
226 | #ifndef OPENSSL_NO_RIPEMD160 | 226 | #ifndef OPENSSL_NO_RIPEMD160 |
227 | { FUNC_TYPE_MD, "ripemd160", dgst_main }, | 227 | { FUNC_TYPE_MD, "ripemd160", dgst_main }, |
228 | #endif | 228 | #endif |
229 | #ifndef OPENSSL_NO_SHA | ||
230 | { FUNC_TYPE_MD, "sha", dgst_main }, | ||
231 | #endif | ||
232 | #ifndef OPENSSL_NO_SHA1 | 229 | #ifndef OPENSSL_NO_SHA1 |
233 | { FUNC_TYPE_MD, "sha1", dgst_main }, | 230 | { FUNC_TYPE_MD, "sha1", dgst_main }, |
234 | #endif | 231 | #endif |