LainOTN2
LainOTN2
Potential fix seems to be two parts, one on LibreSSL, other in openssh-portable https://github.com/PowerShell/LibreSSL/pull/30 https://github.com/PowerShell/openssh-portable/pull/738
@maertendMSFT @tgauth Can you check the previous push request, those are picked up from the fix on LibreSSL and should fix the issue. Any possibility of integrating those changes?
@microsoft-github-policy-service agree company="Microsoft"
The funcion is already compat implemented here: [https://github.com/libressl/portable/blob/cd0ae0ef32d308a4704006b4514e2d065ed8df3c/crypto/compat/posix_win.c#L292](https://github.com/libressl/portable/blob/cd0ae0ef32d308a4704006b4514e2d065ed8df3c/crypto/compat/posix_win.c#L292) but when declaring [https://github.com/libressl/portable/blob/cd0ae0ef32d308a4704006b4514e2d065ed8df3c/include/compat/sys/time.h#L11](https://github.com/libressl/portable/blob/cd0ae0ef32d308a4704006b4514e2d065ed8df3c/include/compat/sys/time.h#L11) we are taking the timeval declaration from winsock2.h, that is a signed 32 bits.
Tested on OpenSSH portable, and it fixes the issues on Win32 builds.