From: Tim Hudson Date: Mon, 17 Aug 2015 12:20:06 +0000 (+1000) Subject: Restore previous behaviour of only running one algorithm when -evp alg is used. X-Git-Tag: OpenSSL_1_1_0-pre1~796 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dfba17b4f3b2f87b50f2251a608d1911bfd202bc;p=oweals%2Fopenssl.git Restore previous behaviour of only running one algorithm when -evp alg is used. Submitted by: Eric Young Reviewed-by: Ben Laurie --- 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;