summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/version.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/version.c b/apps/version.c
index 279aeff2ff..83f0ea27b3 100644
--- a/apps/version.c
+++ b/apps/version.c
@@ -122,14 +122,9 @@ opthelp:
if (!dirty)
version = 1;
- if (version) {
- if (strcmp(OpenSSL_version(OPENSSL_FULL_VERSION_STRING),
- OPENSSL_FULL_VERSION_STR) == 0)
- printf("%s\n", OpenSSL_version(OPENSSL_VERSION));
- else
- printf("%s (Library: %s)\n",
- OPENSSL_VERSION_TEXT, OpenSSL_version(OPENSSL_VERSION));
- }
+ if (version)
+ printf("%s (Library: %s)\n",
+ OPENSSL_VERSION_TEXT, OpenSSL_version(OPENSSL_VERSION));
if (date)
printf("%s\n", OpenSSL_version(OPENSSL_BUILT_ON));
if (platform)