]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/speed.c
Fix copy&paste error found in Coverity scan
[thirdparty/openssl.git] / apps / speed.c
index 3ef37b78a65899690f8402183e6dd32aa376b43d..6672fe606ac032a70288b1bb314126d7240d1c41 100644 (file)
@@ -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;
             }
         }