Avoid trailing space in "openssl version -o".

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8963)
This commit is contained in:
Pauli 2019-05-21 11:30:16 +10:00 committed by Shane Lontis
parent 1dea43c3d3
commit bddf965d29

View file

@ -130,22 +130,22 @@ opthelp:
if (platform) if (platform)
printf("%s\n", OpenSSL_version(OPENSSL_PLATFORM)); printf("%s\n", OpenSSL_version(OPENSSL_PLATFORM));
if (options) { if (options) {
printf("options: "); printf("options: ");
printf("%s ", BN_options()); printf(" %s", BN_options());
#ifndef OPENSSL_NO_MD2 #ifndef OPENSSL_NO_MD2
printf("%s ", MD2_options()); printf(" %s", MD2_options());
#endif #endif
#ifndef OPENSSL_NO_RC4 #ifndef OPENSSL_NO_RC4
printf("%s ", RC4_options()); printf(" %s", RC4_options());
#endif #endif
#ifndef OPENSSL_NO_DES #ifndef OPENSSL_NO_DES
printf("%s ", DES_options()); printf(" %s", DES_options());
#endif #endif
#ifndef OPENSSL_NO_IDEA #ifndef OPENSSL_NO_IDEA
printf("%s ", IDEA_options()); printf(" %s", IDEA_options());
#endif #endif
#ifndef OPENSSL_NO_BF #ifndef OPENSSL_NO_BF
printf("%s ", BF_options()); printf(" %s", BF_options());
#endif #endif
printf("\n"); printf("\n");
} }