Fix 'openssl speed' information printout
authorRichard Levitte <levitte@openssl.org>
Wed, 8 Sep 2021 19:58:19 +0000 (21:58 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 10 Sep 2021 10:15:26 +0000 (12:15 +0200)
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)

apps/speed.c

index 830a502656eb11e69c34861c626f9ffdf0c20767..1e5295398f673e29640f46c5064ebe0632caf220 100644 (file)
@@ -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));
     }