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>
This commit is contained in:
Tim Hudson 2015-08-17 22:20:06 +10:00
parent 686e344918
commit dfba17b4f3

View File

@ -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;