diff options
author | Rich Salz <rsalz@openssl.org> | 2017-08-21 17:22:19 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-08-22 14:15:40 -0400 |
commit | 0e97f1e1a7f43be3a5e5c6256fe6bcb90caf9e01 (patch) | |
tree | 640bd7aea51a53d5e98666aa8ef2cb78270bdff6 /test | |
parent | 94e1f8ab5a9e5996d1808f236c77343acfad9d33 (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 'test')
-rw-r--r-- | test/handshake_helper.c | 6 | ||||
-rw-r--r-- | test/ssltest_old.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/test/handshake_helper.c b/test/handshake_helper.c index 322957ad89..473e22da56 100644 --- a/test/handshake_helper.c +++ b/test/handshake_helper.c @@ -16,11 +16,7 @@ #include <openssl/srp.h> #endif -#ifndef OPENSSL_NO_SOCK -# define USE_SOCKETS -# include "internal/nelem.h" -#endif - +#include "internal/nelem.h" #include "handshake_helper.h" #include "testutil.h" diff --git a/test/ssltest_old.c b/test/ssltest_old.c index b95a5a44fc..faabc2dff0 100644 --- a/test/ssltest_old.c +++ b/test/ssltest_old.c @@ -27,7 +27,6 @@ #include "internal/nelem.h" -#define USE_SOCKETS #include "e_os.h" #ifdef OPENSSL_SYS_VMS |