X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fs_time.c;h=a43df6bb92ac66b36c423d1be8345ef19ac33810;hb=9716a8f9f2cc3cb78bfa6229a608badf24aef1ef;hp=15b519aa3824e7d360c937f58043cd77fd48d733;hpb=75e0770d9661d5c1c3a4ce8122a50602eebb4de4;p=oweals%2Fopenssl.git diff --git a/apps/s_time.c b/apps/s_time.c index 15b519aa38..a43df6bb92 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -124,11 +124,7 @@ */ #ifndef HZ #ifndef CLK_TCK -#ifndef VMS #define HZ 100.0 -#else /* VMS */ -#define HZ 100.0 -#endif #else /* CLK_TCK */ #define HZ ((double)CLK_TCK) #endif @@ -252,15 +248,6 @@ static int parseArgs(int argc, char **argv) verify_depth=0; verify_error=X509_V_OK; -#ifdef FIONBIO - t_nbio=0; -#endif - - apps_startup(); - s_time_init(); - - if (bio_err == NULL) - bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); argc--; argv++; @@ -415,6 +402,12 @@ int MAIN(int argc, char **argv) MS_STATIC char buf[1024*8]; int ver; + apps_startup(); + s_time_init(); + + if (bio_err == NULL) + bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); + #if !defined(NO_SSL2) && !defined(NO_SSL3) s_time_meth=SSLv23_client_method(); #elif !defined(NO_SSL3)