summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authorbeck <>2014-04-13 23:05:18 +0000
committerbeck <>2014-04-13 23:05:18 +0000
commit9d346dca94e1cec09cd98f01e0431d371ef03467 (patch)
treed11b2c06b5b2070fa398ce63cae8305e666b9072 /src/lib/libcrypto
parent837d17aa9cd1d51306cb29c073f22b3d55da8bb5 (diff)
downloadopenbsd-9d346dca94e1cec09cd98f01e0431d371ef03467.tar.gz
openbsd-9d346dca94e1cec09cd98f01e0431d371ef03467.tar.bz2
openbsd-9d346dca94e1cec09cd98f01e0431d371ef03467.zip
Flense a variety of windows support stuff, and a strange gettimeofday function.
ok deraadt@
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/bio/bss_dgram.c12
1 files changed, 0 insertions, 12 deletions
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)
1847 1847
1848static void get_current_time(struct timeval *t) 1848static void get_current_time(struct timeval *t)
1849 { 1849 {
1850#ifdef OPENSSL_SYS_WIN32
1851 struct _timeb tb;
1852 _ftime(&tb);
1853 t->tv_sec = (long)tb.time;
1854 t->tv_usec = (long)tb.millitm * 1000;
1855#elif defined(OPENSSL_SYS_VMS)
1856 struct timeb tb;
1857 ftime(&tb);
1858 t->tv_sec = (long)tb.time;
1859 t->tv_usec = (long)tb.millitm * 1000;
1860#else
1861 gettimeofday(t, NULL); 1850 gettimeofday(t, NULL);
1862#endif
1863 } 1851 }
1864 1852
1865#endif 1853#endif