diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-30 22:37:44 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-30 22:37:44 +0000 |
commit | b29228836aacf1280b6eda9c8faec06489143e43 (patch) | |
tree | 6534284e87263b5b220c7d937808a22dcec258dd /apps | |
parent | 188b05792fafa43904fb2c471a734dbfabc98f98 (diff) |
DJGPP changes. Contributed by Doug Kaufman <dkaufman@rahul.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 3 | ||||
-rw-r--r-- | apps/s_server.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index eaa9269610..b22f3196e6 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -263,6 +263,9 @@ int MAIN(int argc, char **argv) int starttls_proto = 0; int prexit = 0, vflags = 0; SSL_METHOD *meth=NULL; +#ifdef sock_type +#undef sock_type +#endif int sock_type=SOCK_STREAM; BIO *sbio; char *inrand=NULL; diff --git a/apps/s_server.c b/apps/s_server.c index 59b6305e97..afc27e15c9 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -262,6 +262,9 @@ static char *engine_id=NULL; static const char *session_id_prefix=NULL; static int enable_timeouts = 0; +#ifdef mtu +#undef mtu +#endif static long mtu; static int cert_chain = 0; @@ -534,6 +537,9 @@ int MAIN(int argc, char *argv[]) int no_tmp_rsa=0,no_dhe=0,no_ecdhe=0,nocert=0; int state=0; SSL_METHOD *meth=NULL; +#ifdef sock_type +#undef sock_type +#endif int sock_type=SOCK_STREAM; #ifndef OPENSSL_NO_ENGINE ENGINE *e=NULL; |