On 12/21/2011 8:31 PM, harrije wrote:
Which OpenSSL version was it?
It was for version 1.0.0e.
It would be nice if the Configure script for VC-WIN32 added this option
automatically. Alternatively the INSTALL.W32 instructions could have a
warning that on x64 PCs to use:
perl Configure VC-WIN32 -D_USE_32BIT_TIME_T
Just to clarify for those doing the bugfixing:
Current versions of the VC compiler default to using a 64 bit time_t
even on some 32 bit platforms. Also, VC always makes int and long
32 bit types, using other names (__int64, possibly long long in recent
versions too) for the integer type that can hold 64 bit values. (All of
these can of cause be declared unsigned too).
For general portability time_t values should not be stored in variables
of other types (int, __int64, long long, double, etc. etc.) as ANSI C
allows it to be any arithmetic type.
Hope these tips will help.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org