From b65dfad680c3cc8b1e546e7e4a5d57cc7e8dc31f Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Sun, 13 Apr 2014 23:05:19 +0000 Subject: Flense a variety of windows support stuff, and a strange gettimeofday function. ok deraadt@ --- lib/libcrypto/bio/bss_dgram.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'lib/libcrypto/bio') diff --git a/lib/libcrypto/bio/bss_dgram.c b/lib/libcrypto/bio/bss_dgram.c index 54c012c47d7..f39f94f7fe4 100644 --- a/lib/libcrypto/bio/bss_dgram.c +++ b/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