summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-09-08 21:58:19 +0200
committerRichard Levitte <levitte@openssl.org>2021-09-10 12:16:12 +0200
commit9e1b6f3cdc9258b6759d00cd23819925c9e4c391 (patch)
tree8f595e56d0a2c0b5cc5b7b7a5f0ae388c62147cf /apps/speed.c
parent2f9ded524c2c95ab4efcc12b14e098eb4613d2f5 (diff)
Fix 'openssl speed' information printout
Most of all, this reduces the following: built on: built on: Wed Sep 8 19:41:55 2021 UTC to: built on: Wed Sep 8 19:41:55 2021 UTC Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/16563) (cherry picked from commit c1dc3536a89d71f8545f3c70bee2332f389a871d)
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 830a502656..1e5295398f 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -3092,10 +3092,9 @@ int speed_main(int argc, char **argv)
#endif
if (!mr) {
printf("version: %s\n", OpenSSL_version(OPENSSL_FULL_VERSION_STRING));
- printf("built on: %s\n", OpenSSL_version(OPENSSL_BUILT_ON));
- printf("options:");
- printf("%s ", BN_options());
- printf("\n%s\n", OpenSSL_version(OPENSSL_CFLAGS));
+ printf("%s\n", OpenSSL_version(OPENSSL_BUILT_ON));
+ printf("options: %s\n", BN_options());
+ printf("%s\n", OpenSSL_version(OPENSSL_CFLAGS));
printf("%s\n", OpenSSL_version(OPENSSL_CPU_INFO));
}