summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-04-13 23:05:19 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-04-13 23:05:19 +0000
commitb65dfad680c3cc8b1e546e7e4a5d57cc7e8dc31f (patch)
tree91ecedc6a98e7cb76b8984b8eb197969d46b1197 /lib/libcrypto
parent2ccd9a52a58de15c24587e4bb5d60bd7ce4e3ebe (diff)
Flense a variety of windows support stuff, and a strange gettimeofday function.
ok deraadt@
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/bio/bss_dgram.c12
1 files changed, 0 insertions, 12 deletions
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