]> git.ipfire.org Git - thirdparty/openssl.git/commit
Work around a 32-bit mingw failure
authorMatt Caswell <matt@openssl.org>
Thu, 1 Jul 2021 10:58:35 +0000 (11:58 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 2 Jul 2021 16:44:02 +0000 (17:44 +0100)
commit3c0d0eca3505aabe14024e3dd269dee3692ba1ce
tree9245d49932d7632d39b0e01e1e1588570c633de8
parent4616a61416e7ea860e871001879e735943434f00
Work around a 32-bit mingw failure

Passing the return value from gmtime() directly to mktime() was producing
incorrect results under windows (but not under wine) when built with mingw
32-bit (but not VC-WIN32). We implement a workaround for this.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15939)
test/cmp_hdr_test.c