apps/speed.c: Fix eddsa sign and verify output with -multi option
authorSaritha <bsaritha@caviumnetworks.com>
Tue, 29 Oct 2019 06:40:55 +0000 (12:10 +0530)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 17 Dec 2019 18:14:23 +0000 (19:14 +0100)
Fixes #10261
CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10285)

apps/speed.c

index d8d6f0a1ef803b0deffc70e139533f2da6c33a19..fa306c9f7e3d707bf3d356e17fc8d8c6540cf87e 100644 (file)
@@ -3909,6 +3909,7 @@ static int do_multi(int multi, int size_num)
                 p = buf + 4;
                 k = atoi(sstrsep(&p, sep));
                 sstrsep(&p, sep);
+                sstrsep(&p, sep);
 
                 d = atof(sstrsep(&p, sep));
                 eddsa_results[k][0] += d;