projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: return 0 if no error occured.
[oweals/openssl.git]
/
apps
/
s_time.c
diff --git
a/apps/s_time.c
b/apps/s_time.c
index ce52b463fcbc18b255f7597055835d62632c3a17..39fd3b8b4d98d0d3111b27143ab4c807afeaf194 100644
(file)
--- a/
apps/s_time.c
+++ b/
apps/s_time.c
@@
-67,7
+67,7
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#ifdef
OPENSSL_
NO_STDIO
+#ifdef NO_STDIO
#define APPS_WIN16
#endif
#define USE_SOCKETS
#define APPS_WIN16
#endif
#define USE_SOCKETS
@@
-314,11
+314,11
@@
static int parseArgs(int argc, char **argv)
}
else if(strcmp(*argv,"-bugs") == 0)
st_bugs=1;
}
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
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
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 (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();
s_time_meth=SSLv23_client_method();
-#elif !defined(
OPENSSL_
NO_SSL3)
+#elif !defined(NO_SSL3)
s_time_meth=SSLv3_client_method();
s_time_meth=SSLv3_client_method();
-#elif !defined(
OPENSSL_
NO_SSL2)
+#elif !defined(NO_SSL2)
s_time_meth=SSLv2_client_method();
#endif
s_time_meth=SSLv2_client_method();
#endif