Skip to content

Commit

Permalink
Avoid trailing space in "openssl version -o".
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Shane Lontis <[email protected]>
(Merged from openssl#8963)
  • Loading branch information
paulidale authored and slontis committed May 23, 2019
1 parent 1dea43c commit bddf965
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,22 +130,22 @@ int version_main(int argc, char **argv)
if (platform)
printf("%s\n", OpenSSL_version(OPENSSL_PLATFORM));
if (options) {
printf("options: ");
printf("%s ", BN_options());
printf("options: ");
printf(" %s", BN_options());
#ifndef OPENSSL_NO_MD2
printf("%s ", MD2_options());
printf(" %s", MD2_options());
#endif
#ifndef OPENSSL_NO_RC4
printf("%s ", RC4_options());
printf(" %s", RC4_options());
#endif
#ifndef OPENSSL_NO_DES
printf("%s ", DES_options());
printf(" %s", DES_options());
#endif
#ifndef OPENSSL_NO_IDEA
printf("%s ", IDEA_options());
printf(" %s", IDEA_options());
#endif
#ifndef OPENSSL_NO_BF
printf("%s ", BF_options());
printf(" %s", BF_options());
#endif
printf("\n");
}
Expand Down

0 comments on commit bddf965

Please sign in to comment.