Cleanse memory using the new OPENSSL_cleanse() function.
[oweals/openssl.git] / apps / version.c
index a9fda99e0ca7dd69327a85468debb9a94093c7d1..0cbcb47f881f4a39700976b9486828f753534766 100644 (file)
@@ -172,19 +172,7 @@ int MAIN(int argc, char **argv)
                        }
                }
 
-       if (version)
-               {
-               if (SSLeay() == SSLEAY_VERSION_NUMBER)
-                       {
-                       printf("%s\n",SSLeay_version(SSLEAY_VERSION));
-                       }
-               else
-                       {
-                       printf("%s (Library: %s)\n",
-                               SSLEAY_VERSION_TEXT,
-                               SSLeay_version(SSLEAY_VERSION));
-                       }
-               }
+       if (version) printf("%s\n",SSLeay_version(SSLEAY_VERSION));
        if (date)    printf("%s\n",SSLeay_version(SSLEAY_BUILT_ON));
        if (platform) printf("%s\n",SSLeay_version(SSLEAY_PLATFORM));
        if (options)