aboutsummaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorTim Hudson <tjh@openssl.org>2015-08-17 22:20:06 +1000
committerTim Hudson <tjh@openssl.org>2015-08-17 22:20:06 +1000
commitdfba17b4f3b2f87b50f2251a608d1911bfd202bc (patch)
tree66c55a7e020dcb0db0d03883f0d0c600d6799894 /apps/speed.c
parent686e344918229cae90562384c01606ba88ed51ba (diff)
downloadopenssl-dfba17b4f3b2f87b50f2251a608d1911bfd202bc.tar.gz
Restore previous behaviour of only running one algorithm when -evp alg is used.
Submitted by: Eric Young <eay@pobox.com> Reviewed-by: Ben Laurie <ben@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 49efa7b4c9..b4722f1a95 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -944,7 +944,7 @@ int speed_main(int argc, char **argv)
#endif
/* No parameters; turn on everything. */
- if (argc == 0) {
+ if ((argc == 0) && !doit[D_EVP]) {
for (i = 0; i < ALGOR_NUM; i++)
if (i != D_EVP)
doit[i] = 1;