From: tb Date: Fri, 14 Jan 2022 09:28:07 +0000 (+0000) Subject: openssl(1) dgst: fix build after clones removal X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c44ca71ad5dd3a2c8a891ee7dada72228503b328;p=openbsd openssl(1) dgst: fix build after clones removal ok inoguchi jsing --- diff --git a/usr.bin/openssl/dgst.c b/usr.bin/openssl/dgst.c index 74c31f7d2d8..689591cd224 100644 --- a/usr.bin/openssl/dgst.c +++ b/usr.bin/openssl/dgst.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dgst.c,v 1.18 2019/08/30 12:32:14 inoguchi Exp $ */ +/* $OpenBSD: dgst.c,v 1.19 2022/01/14 09:28:07 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -302,9 +302,6 @@ list_md_fn(const EVP_MD * m, const char *from, const char *to, void *arg) /* Skip shortnames */ if (strcmp(from, mname)) return; - /* Skip clones */ - if (EVP_MD_flags(m) & EVP_MD_FLAG_PKEY_DIGEST) - return; if (strchr(mname, ' ')) mname = EVP_MD_name(m); BIO_printf(arg, " -%-17s To use the %s message digest algorithm\n",