summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-07-25 18:57:35 +0000
committerAndy Polyakov <appro@openssl.org>2004-07-25 18:57:35 +0000
commitc88f8f76b54d9d27f3c29645616d9ec427ee41c4 (patch)
tree7cf640b6d0effb72c191d4815b6c0ce40df645b5 /apps/dgst.c
parentfbf96849e9e48750338eba1e2f4cc04d1ae4c1fd (diff)
'apps/openssl dgst -help' update and minor apps/speed.c update.
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index be25dafef7..c1bacd79b7 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -222,10 +222,20 @@ int MAIN(int argc, char **argv)
LN_md4,LN_md4);
BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
LN_md2,LN_md2);
+#ifndef OPENSSL_NO_SHA
BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
LN_sha1,LN_sha1);
BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
LN_sha,LN_sha);
+#ifndef OPENSSL_NO_SHA256
+ BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
+ LN_sha256,LN_sha256);
+#endif
+#ifndef OPENSSL_NO_SHA512
+ BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
+ LN_sha512,LN_sha512);
+#endif
+#endif
BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",
LN_mdc2,LN_mdc2);
BIO_printf(bio_err,"-%3s to use the %s message digest algorithm\n",