From db579c414acd2dba8feece32f371f099b468bd5b Mon Sep 17 00:00:00 2001 From: beck Date: Sun, 13 Apr 2014 22:37:35 +0000 Subject: Fix the gettimeofday function that I broke with my last commit. noticed by mattheew and deraadt ok deraadt@ --- lib/libssl/src/ssl/d1_lib.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/libssl/src') diff --git a/lib/libssl/src/ssl/d1_lib.c b/lib/libssl/src/ssl/d1_lib.c index ec0ff402654..750f83e04a5 100644 --- a/lib/libssl/src/ssl/d1_lib.c +++ b/lib/libssl/src/ssl/d1_lib.c @@ -453,13 +453,7 @@ int dtls1_handle_timeout(SSL *s) static void get_current_time(struct timeval *t) { -#ifdef OPENSSL_SYS_WIN32 - struct _timeb tb; - _ftime(&tb); - t->tv_sec = (long)tb.time; - t->tv_usec = (long)tb.millitm * 1000; gettimeofday(t, NULL); -#endif } int dtls1_listen(SSL *s, struct sockaddr *client) -- cgit v1.2.3-59-g8ed1b