aboutsummaryrefslogtreecommitdiffstats
path: root/apps/s_time.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-09-08 21:58:13 +0000
committerBodo Möller <bodo@openssl.org>1999-09-08 21:58:13 +0000
commit396f631458c34469bf12a575f0fccc44282e0d1d (patch)
tree06d18370963412a753b75c750837ea2da1c6976f /apps/s_time.c
parent0d64ea89f75fcd2dd11fbd50e615a7fc20167908 (diff)
downloadopenssl-396f631458c34469bf12a575f0fccc44282e0d1d.tar.gz
some more patches for avoiding problems with non-automatic variables
Diffstat (limited to 'apps/s_time.c')
-rw-r--r--apps/s_time.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index a529e2a119..a43df6bb92 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -248,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++;
@@ -411,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)