Commit 447402e6 authored by Andrea Grandi's avatar Andrea Grandi Committed by Matt Caswell
Browse files

Fix error in the loop of ECDH

The tests was incorrectly repeated multiple times when using the
async_jobs options

Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent fbdf0299
Loading
Loading
Loading
Loading
+1 −1
Changes for apps/speed.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2650,6 +2650,7 @@ int speed_main(int argc, char **argv)
                        break;
                    }
                }
            }
            if (ecdh_checks != 0) {
                pkey_print_message("", "ecdh",
                        ecdh_c[testnum][0],
@@ -2665,7 +2666,6 @@ int speed_main(int argc, char **argv)
                rsa_count = count;
            }
        }
        }

        if (rsa_count <= 1) {
            /* if longer than 10s, don't do any more */