From dea2616f54bc531ab8af0d74ac00fd23f61ba61d Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 17 Apr 2014 20:58:08 +0000 Subject: Mostly gut e_os.h: USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore --- src/lib/libcrypto/bio/b_sock.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/lib/libcrypto/bio/b_sock.c') diff --git a/src/lib/libcrypto/bio/b_sock.c b/src/lib/libcrypto/bio/b_sock.c index 1ae9d96577..0972feeb58 100644 --- a/src/lib/libcrypto/bio/b_sock.c +++ b/src/lib/libcrypto/bio/b_sock.c @@ -59,16 +59,13 @@ #include #include #include -#define USE_SOCKETS #include "cryptlib.h" #include -#if defined(OPENSSL_SYS_NETWARE) && defined(NETWARE_BSDSOCK) -#include -#if defined(NETWARE_CLIB) #include -NETDB_DEFINE_CONTEXT -#endif -#endif + +#include +#include +#include #ifndef OPENSSL_NO_SOCK -- cgit v1.2.3-55-g6feb