X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=apps%2Fversion.c;h=a567f34094c5e91c5340930639723427aec5370a;hb=66430207a4de2160082d84bb69feedde9cf7ac83;hp=a84943329ca78936a85bfbd2f680dadf7da694e6;hpb=d02b48c63a58ea4367a0e905979f140b7d090f86;p=openssl.git diff --git a/apps/version.c b/apps/version.c index a84943329c..a567f34094 100644 --- a/apps/version.c +++ b/apps/version.c @@ -1,5 +1,5 @@ /* apps/version.c */ -/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written @@ -60,24 +60,22 @@ #include #include #include "apps.h" -#include "evp.h" -#include "crypto.h" +#include +#include #undef PROG #define PROG version_main -int MAIN(argc, argv) -int argc; -char **argv; +int MAIN(int argc, char **argv) { int i,ret=0; - int cflags=0,version=0,date=0,options=0; + int cflags=0,version=0,date=0,options=0,platform=0; apps_startup(); if (bio_err == NULL) if ((bio_err=BIO_new(BIO_s_file())) != NULL) - BIO_set_fp(bio_err,stderr,BIO_NOCLOSE); + BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); if (argc == 1) version=1; for (i=1; i