From 737a37f7f170121769875e8e6f5fe7389701dff8 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 9 Oct 2018 18:37:10 +0200 Subject: [PATCH] Fix copy&paste error found in Coverity scan Reviewed-by: Nicola Tuveri Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/7377) (cherry picked from commit 628ee796389b555ddb5fc28355e16e9417ab1724) --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index 3ef37b78a6..6672fe606a 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -2541,7 +2541,7 @@ int speed_main(int argc, char **argv) if (rsa_count <= 1) { /* if longer than 10s, don't do any more */ - for (testnum++; testnum < EC_NUM; testnum++) + for (testnum++; testnum < ECDSA_NUM; testnum++) ecdsa_doit[testnum] = 0; } } -- 2.25.1