From bfe231b977284ba78a582db96a05b5854ddf0d91 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 7 Jun 2015 23:20:14 +0200 Subject: [PATCH] Fix alignment of output of sptps_speed. --- src/sptps_speed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sptps_speed.c b/src/sptps_speed.c index 4d112dd..bde3d69 100644 --- a/src/sptps_speed.c +++ b/src/sptps_speed.c @@ -109,7 +109,7 @@ int main(int argc, char *argv[]) { for(clock_start(); clock_countto(duration);) if(!ecdsa_sign(key1, buf1, 256, buf2)) return 1; - fprintf(stderr, "%22.2lf op/s\n", rate); + fprintf(stderr, "%20.2lf op/s\n", rate); fprintf(stderr, "Ed25519 verify for %lg seconds: ", duration); for(clock_start(); clock_countto(duration);) @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Signature verification failed\n"); return 1; } - fprintf(stderr, "%20.2lf op/s\n", rate); + fprintf(stderr, "%18.2lf op/s\n", rate); ecdh1 = ecdh_generate_public(buf1); fprintf(stderr, "ECDH for %lg seconds: ", duration); -- 2.25.1