Skip to content
This repository was archived by the owner on Nov 2, 2026. It is now read-only.

Fix for Y2038 gettimeofday for Win32 builds - #30

Closed
LainOTN2 wants to merge 3 commits into
PowerShell:masterfrom
LainOTN2:master
Closed

LainOTN2 wants to merge 3 commits into
PowerShell:masterfrom
LainOTN2:master

Conversation

@LainOTN2

@LainOTN2 LainOTN2 commented Aug 6, 2024 •

Copy link
Copy Markdown

PR Summary
Fist part of the Y2038 issue on OpenSSH. Second part here: PowerShell/openssh-portable#738
Porting LibreSSL fix (libressl/portable#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

LainOTN2 commented Aug 6, 2024

Copy link
Copy Markdown
Author

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

@tgauth

Copy link
Copy Markdown
Collaborator

these changes were merged as part of #34 so I'm going to close this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants