提交 b2922883 编写于 作者: R Richard Levitte

DJGPP changes. Contributed by Doug Kaufman <dkaufman@rahul.net>

上级 188b0579
...@@ -263,6 +263,9 @@ int MAIN(int argc, char **argv) ...@@ -263,6 +263,9 @@ int MAIN(int argc, char **argv)
int starttls_proto = 0; int starttls_proto = 0;
int prexit = 0, vflags = 0; int prexit = 0, vflags = 0;
SSL_METHOD *meth=NULL; SSL_METHOD *meth=NULL;
#ifdef sock_type
#undef sock_type
#endif
int sock_type=SOCK_STREAM; int sock_type=SOCK_STREAM;
BIO *sbio; BIO *sbio;
char *inrand=NULL; char *inrand=NULL;
......
...@@ -262,6 +262,9 @@ static char *engine_id=NULL; ...@@ -262,6 +262,9 @@ static char *engine_id=NULL;
static const char *session_id_prefix=NULL; static const char *session_id_prefix=NULL;
static int enable_timeouts = 0; static int enable_timeouts = 0;
#ifdef mtu
#undef mtu
#endif
static long mtu; static long mtu;
static int cert_chain = 0; static int cert_chain = 0;
...@@ -534,6 +537,9 @@ int MAIN(int argc, char *argv[]) ...@@ -534,6 +537,9 @@ int MAIN(int argc, char *argv[])
int no_tmp_rsa=0,no_dhe=0,no_ecdhe=0,nocert=0; int no_tmp_rsa=0,no_dhe=0,no_ecdhe=0,nocert=0;
int state=0; int state=0;
SSL_METHOD *meth=NULL; SSL_METHOD *meth=NULL;
#ifdef sock_type
#undef sock_type
#endif
int sock_type=SOCK_STREAM; int sock_type=SOCK_STREAM;
#ifndef OPENSSL_NO_ENGINE #ifndef OPENSSL_NO_ENGINE
ENGINE *e=NULL; ENGINE *e=NULL;
......
...@@ -153,7 +153,7 @@ int RAND_poll(void) ...@@ -153,7 +153,7 @@ int RAND_poll(void)
int n = 0; int n = 0;
#endif #endif
#ifdef DEVRANDOM #ifdef DEVRANDOM
static const char *randomfiles[] = { DEVRANDOM }; static const char *randomfiles[] = { "DEVRANDOM" };
struct stat randomstats[sizeof(randomfiles)/sizeof(randomfiles[0])]; struct stat randomstats[sizeof(randomfiles)/sizeof(randomfiles[0])];
int fd,i; int fd,i;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册