From: Tomas Mraz Date: Tue, 9 Oct 2018 16:37:10 +0000 (+0200) Subject: Fix copy&paste error found in Coverity scan X-Git-Tag: OpenSSL_1_1_1a~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b03114593c59b3010a0d5166ec349b8985a8290;p=openssl 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) --- diff --git a/apps/speed.c b/apps/speed.c index a4879179e4..40e990408a 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -2896,7 +2896,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; } }