> Patch not applied yet due to portability issues with gettimeofday(). > This doesn't exist on WIN32 and not sure about others such as VMS. > [...]
Re: VMS: Around here, time.h says this: [...] /* ** Note that gettimeofday() is UTC based, so it is not visible if ** compiling in a local time based compatibility mode. */ #if __CRTL_VER >= 70000000 int getitimer (int __which, struct itimerval *__value); int setitimer (int __which, const struct itimerval *__value, struct itimerv # if !defined _VMS_V6_SOURCE int gettimeofday (struct timeval *__tp, void *__tzp); # endif #endif [...] So, it should be ok on VMS V7.0 and up. > GetSystemTimeAsFileTime() is one possibility on WIN32: see fips_rand.c > for an example. The speed utility (apps/speed.c) also has various > versions so that may be usable too. I see nothing stopping it from being used, and SEARCH finds it in (0.9.8k) SPEED.OBJ and OPENSSL.EXE, so I'd guess that there would already be build problems on pre-V7.0 systems, where gettimeofday() would not be available in the run-time libraries. ------------------------------------------------------------------------ Steven M. Schweda s...@antinode-info 382 South Warwick Street (+1) 651-699-9818 Saint Paul MN 55105-2547 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org