diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-01 08:50:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-01 09:55:43 +1000 |
commit | 4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0 (patch) | |
tree | 550e4d3cf715378bb9b609caede0a1091a816cda /ssl/d1_lib.c | |
parent | 75551e07bd2339dfea06ef1d31d69929e13a4495 (diff) | |
download | openssl-new-4cff10dcbfbd979d1557cc8b7e3fa2f19525deb0.tar.gz |
struct timeval include guards
Move struct timeval includes into e_os.h (where the Windows ones were).
Enaure that the include is guarded canonically.
Refer #4271
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4312)
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 6c594a2686..d839e1ab72 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -13,12 +13,6 @@ #include <openssl/rand.h> #include "ssl_locl.h" -#if defined(OPENSSL_SYS_VXWORKS) -# include <sys/times.h> -#elif !defined(OPENSSL_SYS_WIN32) -# include <sys/time.h> -#endif - static void get_current_time(struct timeval *t); static int dtls1_handshake_write(SSL *s); static size_t dtls1_link_min_mtu(void); |