X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fs_time.c;h=39fd3b8b4d98d0d3111b27143ab4c807afeaf194;hb=9693045170a671fde225a23ced1108fbc6dcf097;hp=5da9b12404847a9fa78d451ad3b5396767b2130a;hpb=bc36ee6227517edae802bcb0da68d4f04fe1fb5e;p=oweals%2Fopenssl.git diff --git a/apps/s_time.c b/apps/s_time.c index 5da9b12404..39fd3b8b4d 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -67,7 +67,7 @@ #include #include -#ifdef OPENSSL_NO_STDIO +#ifdef NO_STDIO #define APPS_WIN16 #endif #define USE_SOCKETS @@ -82,7 +82,7 @@ #include "wintext.h" #endif -#if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) +#if !defined(MSDOS) && (!defined(VMS) || defined(__DECC)) #define TIMES #endif @@ -98,7 +98,7 @@ The __TMS macro will show if it was. If it wasn't defined, we should undefine TIMES, since that tells the rest of the program how things should be handled. -- Richard Levitte */ -#if defined(OPENSSL_SYS_VMS_DECC) && !defined(__TMS) +#if defined(VMS) && defined(__DECC) && !defined(__TMS) #undef TIMES #endif @@ -174,7 +174,7 @@ static int perform=0; #ifdef FIONBIO static int t_nbio=0; #endif -#ifdef OPENSSL_SYS_WIN32 +#ifdef WIN32 static int exitNow = 0; /* Set when it's time to exit main */ #endif @@ -198,7 +198,7 @@ static void s_time_init(void) #ifdef FIONBIO t_nbio=0; #endif -#ifdef OPENSSL_SYS_WIN32 +#ifdef WIN32 exitNow = 0; /* Set when it's time to exit main */ #endif } @@ -314,11 +314,11 @@ static int parseArgs(int argc, char **argv) } else if(strcmp(*argv,"-bugs") == 0) st_bugs=1; -#ifndef OPENSSL_NO_SSL2 +#ifndef NO_SSL2 else if(strcmp(*argv,"-ssl2") == 0) s_time_meth=SSLv2_client_method(); #endif -#ifndef OPENSSL_NO_SSL3 +#ifndef NO_SSL3 else if(strcmp(*argv,"-ssl3") == 0) s_time_meth=SSLv3_client_method(); #endif @@ -406,11 +406,11 @@ int MAIN(int argc, char **argv) if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); -#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3) +#if !defined(NO_SSL2) && !defined(NO_SSL3) s_time_meth=SSLv23_client_method(); -#elif !defined(OPENSSL_NO_SSL3) +#elif !defined(NO_SSL3) s_time_meth=SSLv3_client_method(); -#elif !defined(OPENSSL_NO_SSL2) +#elif !defined(NO_SSL2) s_time_meth=SSLv2_client_method(); #endif