summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-21 17:22:19 -0400
committerRich Salz <rsalz@openssl.org>2017-08-22 14:15:40 -0400
commit0e97f1e1a7f43be3a5e5c6256fe6bcb90caf9e01 (patch)
tree640bd7aea51a53d5e98666aa8ef2cb78270bdff6 /apps/s_server.c
parent94e1f8ab5a9e5996d1808f236c77343acfad9d33 (diff)
(Re)move some things from e_os.h
Remove GETPID_IS_MEANINGLESS and osslargused. Move socket-related things to new file internal/sockets.h; this is now only needed by four(!!!) files. Compiles should be a bit faster. Remove USE_SOCKETS ifdef's Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4209)
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 8883994f8f..81ae6dba3e 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -37,7 +37,6 @@ typedef unsigned int u_int;
#include <openssl/lhash.h>
#include <openssl/bn.h>
-#define USE_SOCKETS
#include "apps.h"
#include <openssl/err.h>
#include <openssl/pem.h>
@@ -59,6 +58,7 @@ typedef unsigned int u_int;
#ifdef CHARSET_EBCDIC
#include <openssl/ebcdic.h>
#endif
+#include "internal/sockets.h"
static int not_resumable_sess_cb(SSL *s, int is_forward_secure);
static int sv_body(int s, int stype, int prot, unsigned char *context);