summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2018-10-09 18:37:10 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2018-10-13 05:40:21 +0200
commit628ee796389b555ddb5fc28355e16e9417ab1724 (patch)
tree2322f77863d21f5097d5bc93e1f18507a893c594 /apps
parentrsa/rsa_ossl.c: fix and extend commentary [skip ci]. (diff)
downloadopenssl-628ee796389b555ddb5fc28355e16e9417ab1724.tar.xz
openssl-628ee796389b555ddb5fc28355e16e9417ab1724.zip
Fix copy&paste error found in Coverity scan
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7377)
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 27b4d50a64..833bb9bfe9 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -2947,7 +2947,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;
}
}