LibreSSL icon indicating copy to clipboard operation
LibreSSL copied to clipboard

Fix for Y2038 gettimeofday for Win32 builds

Open LainOTN2 opened this issue 1 year ago • 1 comments

PR Summary Fist part of the Y2038 issue on OpenSSH. Second part here: https://github.com/PowerShell/openssh-portable/pull/738 Porting LibreSSL fix (https://github.com/libressl/portable/pull/1078) for gettimeofday on MSVC builds. timeval was taken from winsock2.h that is 32bit signed.

PR Context Besides overriding gettimeofday and timeval on MSVC platforms, we also need to modify the gettimeofday export of the dll with the overriden name openlss_gettimeofday on crypto/CMakeLists.txt.

LainOTN2 avatar Aug 06 '24 09:08 LainOTN2

@microsoft-github-policy-service agree company="Microsoft"

LainOTN2 avatar Aug 06 '24 10:08 LainOTN2

these changes were merged as part of https://github.com/PowerShell/LibreSSL/pull/34 so I'm going to close this!

tgauth avatar Mar 25 '25 17:03 tgauth