diff --git a/apps/s_client.c b/apps/s_client.c index eaa9269610e0c8bbd4c06eb5f5681282f73ed611..b22f3196e6de1295fae016093cb8d7aea84e8815 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 59b6305e97a5cf8d3584f147f2540ecf0b92b79c..afc27e15c962001444e486706754decf98278e3a 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; diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 14837a7a7d8766f15a06284d3e7352276361ae8a..bf9a0e993aef99c2332a1266ffa88d4525a134f1 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -153,7 +153,7 @@ int RAND_poll(void) int n = 0; #endif #ifdef DEVRANDOM - static const char *randomfiles[] = { DEVRANDOM }; + static const char *randomfiles[] = { "DEVRANDOM" }; struct stat randomstats[sizeof(randomfiles)/sizeof(randomfiles[0])]; int fd,i; #endif