From 9aaa7be8d4be38c0a13a64a0a8cf6c4774c45a0f Mon Sep 17 00:00:00 2001 From: Nick Lewis Date: Mon, 11 Aug 2014 22:56:46 -0400 Subject: PR 2580: dgst missing current SHA algorithms Update the dgst.pod page to include SHA224...512 algorithms. Update apps/progs.pl to add them to the digest command table. Reviewed-by: Tim Hudson --- apps/progs.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/progs.h') diff --git a/apps/progs.h b/apps/progs.h index d79b974ad1..dd549e2b7f 100644 --- a/apps/progs.h +++ b/apps/progs.h @@ -172,6 +172,18 @@ FUNCTION functions[] = { #ifndef OPENSSL_NO_RMD160 {FUNC_TYPE_MD,"rmd160",dgst_main}, #endif +#ifndef OPENSSL_NO_SHA224 + {FUNC_TYPE_MD,"sha224",dgst_main}, +#endif +#ifndef OPENSSL_NO_SHA256 + {FUNC_TYPE_MD,"sha256",dgst_main}, +#endif +#ifndef OPENSSL_NO_SHA384 + {FUNC_TYPE_MD,"sha384",dgst_main}, +#endif +#ifndef OPENSSL_NO_SHA512 + {FUNC_TYPE_MD,"sha512",dgst_main}, +#endif #ifndef OPENSSL_NO_AES {FUNC_TYPE_CIPHER,"aes-128-cbc",enc_main}, #endif -- cgit v1.2.3