From a7268eae9e45cb1dc601928389cd071cc6f36afa Mon Sep 17 00:00:00 2001 From: bcook <> Date: Mon, 21 Sep 2015 13:13:06 +0000 Subject: 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@ --- src/usr.bin/openssl/openssl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/usr.bin/openssl/openssl.c') 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 @@ -/* $OpenBSD: openssl.c,v 1.12 2015/09/14 01:45:03 doug Exp $ */ +/* $OpenBSD: openssl.c,v 1.13 2015/09/21 13:13:06 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -226,9 +226,6 @@ FUNCTION functions[] = { #ifndef OPENSSL_NO_RIPEMD160 { FUNC_TYPE_MD, "ripemd160", dgst_main }, #endif -#ifndef OPENSSL_NO_SHA - { FUNC_TYPE_MD, "sha", dgst_main }, -#endif #ifndef OPENSSL_NO_SHA1 { FUNC_TYPE_MD, "sha1", dgst_main }, #endif -- cgit v1.2.3-55-g6feb