X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fversion.c;h=e9555cbde29da0ebd07d6582c47e2c105a7ca808;hp=a9fda99e0ca7dd69327a85468debb9a94093c7d1;hb=6cc0068430d0a4abdef0b466d422e6a4d154a5fe;hpb=4fde69b066a848c0a8408d1f4c3ce7a55decd432 diff --git a/apps/version.c b/apps/version.c index a9fda99e0c..e9555cbde2 100644 --- a/apps/version.c +++ b/apps/version.c @@ -115,6 +115,7 @@ #include "apps.h" #include #include +#include #ifndef OPENSSL_NO_MD2 # include #endif @@ -166,7 +167,7 @@ int MAIN(int argc, char **argv) date=version=cflags=options=platform=dir=1; else { - BIO_printf(bio_err,"usage:version -[avbofp]\n"); + BIO_printf(bio_err,"usage:version -[avbofpd]\n"); ret=1; goto end; } @@ -181,7 +182,7 @@ int MAIN(int argc, char **argv) else { printf("%s (Library: %s)\n", - SSLEAY_VERSION_TEXT, + OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION)); } } @@ -212,5 +213,5 @@ int MAIN(int argc, char **argv) if (dir) printf("%s\n",SSLeay_version(SSLEAY_DIR)); end: apps_shutdown(); - EXIT(ret); + OPENSSL_EXIT(ret); }