summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r--src/lib/libssl/d1_lib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c
index ec0ff40265..750f83e04a 100644
--- a/src/lib/libssl/d1_lib.c
+++ b/src/lib/libssl/d1_lib.c
@@ -453,13 +453,7 @@ int dtls1_handle_timeout(SSL *s)
453 453
454static void get_current_time(struct timeval *t) 454static void get_current_time(struct timeval *t)
455{ 455{
456#ifdef OPENSSL_SYS_WIN32
457 struct _timeb tb;
458 _ftime(&tb);
459 t->tv_sec = (long)tb.time;
460 t->tv_usec = (long)tb.millitm * 1000;
461 gettimeofday(t, NULL); 456 gettimeofday(t, NULL);
462#endif
463} 457}
464 458
465int dtls1_listen(SSL *s, struct sockaddr *client) 459int dtls1_listen(SSL *s, struct sockaddr *client)