From: Guus Sliepen Date: Sun, 7 Jun 2015 21:20:14 +0000 (+0200) Subject: Fix alignment of output of sptps_speed. X-Git-Tag: release-1.1pre12~122 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=bfe231b977284ba78a582db96a05b5854ddf0d91;p=tinc Fix alignment of output of sptps_speed. --- diff --git a/src/sptps_speed.c b/src/sptps_speed.c index 4d112dd7..bde3d697 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);