Update ocsp usage message and docs.
[oweals/openssl.git] / apps / version.c
index 041da37e99afb4f3300849434297a13eecf0ba11..0843b67565e7ef795ae6c6d82c173e7bc5250636 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",
-                               OPENSSL_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)