From 9d346dca94e1cec09cd98f01e0431d371ef03467 Mon Sep 17 00:00:00 2001 From: beck <> Date: Sun, 13 Apr 2014 23:05:18 +0000 Subject: Flense a variety of windows support stuff, and a strange gettimeofday function. ok deraadt@ --- src/lib/libcrypto/bio/bss_dgram.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/lib/libcrypto') diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c index 54c012c47d..f39f94f7fe 100644 --- a/src/lib/libcrypto/bio/bss_dgram.c +++ b/src/lib/libcrypto/bio/bss_dgram.c @@ -1847,19 +1847,7 @@ int BIO_dgram_non_fatal_error(int err) 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; -#elif defined(OPENSSL_SYS_VMS) - struct timeb tb; - ftime(&tb); - t->tv_sec = (long)tb.time; - t->tv_usec = (long)tb.millitm * 1000; -#else gettimeofday(t, NULL); -#endif } #endif -- cgit v1.2.3-55-g6feb