summaryrefslogtreecommitdiffstats
path: root/apps/speed.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/speed.c
parentfbf96849e9e48750338eba1e2f4cc04d1ae4c1fd (diff)
'apps/openssl dgst -help' update and minor apps/speed.c update.
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c
index a3b0833b69..5697d3aef4 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -1576,6 +1576,7 @@ int MAIN(int argc, char **argv)
}
}
+#ifndef OPENSSL_NO_SHA256
if (doit[D_SHA256])
{
for (j=0; j<SIZE_NUM; j++)
@@ -1588,7 +1589,9 @@ int MAIN(int argc, char **argv)
print_result(D_SHA256,j,count,d);
}
}
+#endif
+#ifndef OPENSSL_NO_SHA512
if (doit[D_SHA512])
{
for (j=0; j<SIZE_NUM; j++)
@@ -1602,6 +1605,8 @@ int MAIN(int argc, char **argv)
}
}
#endif
+
+#endif
#ifndef OPENSSL_NO_RIPEMD
if (doit[D_RMD160])
{