Fix disabled ecdsa in apps/speed
authorfangming.fang <fangming.fang@arm.com>
Fri, 27 Dec 2019 03:36:36 +0000 (03:36 +0000)
committerNicola Tuveri <nic.tuv@gmail.com>
Sun, 5 Jan 2020 11:45:33 +0000 (13:45 +0200)
This came from f3fdfbf78c6b. run = 1 should be done in pkey_print_message
as well, otherwise other tests printed with pkey_print_message won't run.

Change-Id: I0ba0b05256ad6509ada4735b26d10f8a73fd89ec

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/10710)

(cherry picked from commit 6e49b514067a2b6a30d064d2ae1fdfd8050c184b)

apps/speed.c

index da7fc7f25c75b0b88b91d1af97bb62c109b72308..d0720841e736e326ef86f7740d9c7b470bb9b5e4 100644 (file)
@@ -3411,6 +3411,7 @@ static void pkey_print_message(const char *str, const char *str2, long num,
                mr ? "+DTP:%d:%s:%s:%d\n"
                : "Doing %u bits %s %s's for %ds: ", bits, str, str2, tm);
     (void)BIO_flush(bio_err);
+    run = 1;
     alarm(tm);
 #else
     BIO_printf(bio_err,