Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Y2038 gettimeofday for Win32 builds #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LainOTN2
Copy link

@LainOTN2 LainOTN2 commented Aug 6, 2024

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
Copy link
Author

LainOTN2 commented Aug 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant