diff options
author | beck <> | 2014-04-13 22:11:45 +0000 |
---|---|---|
committer | beck <> | 2014-04-13 22:11:45 +0000 |
commit | c07bea4706cfb2e50753f5af01364a2dd815689e (patch) | |
tree | 454ebecbf6e32e2986dd1082a857080004b5370c /src/lib/libssl/d1_lib.c | |
parent | 3d8036a72e4d1e91fc354eb6336d3459e1ee7c9c (diff) | |
download | openbsd-c07bea4706cfb2e50753f5af01364a2dd815689e.tar.gz openbsd-c07bea4706cfb2e50753f5af01364a2dd815689e.tar.bz2 openbsd-c07bea4706cfb2e50753f5af01364a2dd815689e.zip |
Remove vms support stuff.
ok deraadt@
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r-- | src/lib/libssl/d1_lib.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index 7565ce7e36..ec0ff40265 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
@@ -66,10 +66,6 @@ | |||
66 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
67 | #include "ssl_locl.h" | 67 | #include "ssl_locl.h" |
68 | 68 | ||
69 | #if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) | ||
70 | #include <sys/timeb.h> | ||
71 | #endif | ||
72 | |||
73 | static void get_current_time(struct timeval *t); | 69 | static void get_current_time(struct timeval *t); |
74 | const char dtls1_version_str[]="DTLSv1" OPENSSL_VERSION_PTEXT; | 70 | const char dtls1_version_str[]="DTLSv1" OPENSSL_VERSION_PTEXT; |
75 | int dtls1_listen(SSL *s, struct sockaddr *client); | 71 | int dtls1_listen(SSL *s, struct sockaddr *client); |
@@ -462,12 +458,6 @@ static void get_current_time(struct timeval *t) | |||
462 | _ftime(&tb); | 458 | _ftime(&tb); |
463 | t->tv_sec = (long)tb.time; | 459 | t->tv_sec = (long)tb.time; |
464 | t->tv_usec = (long)tb.millitm * 1000; | 460 | t->tv_usec = (long)tb.millitm * 1000; |
465 | #elif defined(OPENSSL_SYS_VMS) | ||
466 | struct timeb tb; | ||
467 | ftime(&tb); | ||
468 | t->tv_sec = (long)tb.time; | ||
469 | t->tv_usec = (long)tb.millitm * 1000; | ||
470 | #else | ||
471 | gettimeofday(t, NULL); | 461 | gettimeofday(t, NULL); |
472 | #endif | 462 | #endif |
473 | } | 463 | } |