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 08:35:46 +0000 (10:35 +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)

apps/speed.c

index 0ac21bd9034fa1b5bbbfdb15ebee4dbddb1b9a80..9eed4f208330e6bebec8d1a9b55995d04fc4e002 100644 (file)
@@ -3734,6 +3734,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,