From: Richard Levitte Date: Wed, 8 Sep 2021 19:58:19 +0000 (+0200) Subject: Fix 'openssl speed' information printout X-Git-Tag: openssl-3.2.0-alpha1~3576 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e1b6f3cdc9258b6759d00cd23819925c9e4c391;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/16563) (cherry picked from commit c1dc3536a89d71f8545f3c70bee2332f389a871d) --- diff --git a/apps/speed.c b/apps/speed.c index 830a502656e..1e5295398f6 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)); }