diff options
author | tb <> | 2022-01-14 09:28:07 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 09:28:07 +0000 |
commit | 38cd8702c3d159afba2ad41431f0ee9e39e667b1 (patch) | |
tree | 3d4b5d70486d4b3dcffa36eae1473a90ea03629b /src/usr.bin | |
parent | 72edcec0b5ec6b71ac44983e57ada002a48ac87a (diff) | |
download | openbsd-38cd8702c3d159afba2ad41431f0ee9e39e667b1.tar.gz openbsd-38cd8702c3d159afba2ad41431f0ee9e39e667b1.tar.bz2 openbsd-38cd8702c3d159afba2ad41431f0ee9e39e667b1.zip |
openssl(1) dgst: fix build after clones removal
ok inoguchi jsing
Diffstat (limited to 'src/usr.bin')
-rw-r--r-- | src/usr.bin/openssl/dgst.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/dgst.c b/src/usr.bin/openssl/dgst.c index 74c31f7d2d..689591cd22 100644 --- a/src/usr.bin/openssl/dgst.c +++ b/src/usr.bin/openssl/dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dgst.c,v 1.18 2019/08/30 12:32:14 inoguchi Exp $ */ | 1 | /* $OpenBSD: dgst.c,v 1.19 2022/01/14 09:28:07 tb 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 | * |
@@ -302,9 +302,6 @@ list_md_fn(const EVP_MD * m, const char *from, const char *to, void *arg) | |||
302 | /* Skip shortnames */ | 302 | /* Skip shortnames */ |
303 | if (strcmp(from, mname)) | 303 | if (strcmp(from, mname)) |
304 | return; | 304 | return; |
305 | /* Skip clones */ | ||
306 | if (EVP_MD_flags(m) & EVP_MD_FLAG_PKEY_DIGEST) | ||
307 | return; | ||
308 | if (strchr(mname, ' ')) | 305 | if (strchr(mname, ' ')) |
309 | mname = EVP_MD_name(m); | 306 | mname = EVP_MD_name(m); |
310 | BIO_printf(arg, " -%-17s To use the %s message digest algorithm\n", | 307 | BIO_printf(arg, " -%-17s To use the %s message digest algorithm\n", |