Subject: Applying patch #397

Applying patch #397

From: Dave Colter <dave_at_knudseneng.com>
Date: Thu, 9 Apr 2020 10:17:03 -0400

Hello,
Rookie question here. I am primarily a Windows developer.

My Windows 10 application uses libssh2 (linked with WinCNG) to connect
to an ARM-based computer running Yocto Linux. Recently it stopped
working and will not work on Windows 10 versions 1903 and 1909. The
libssh2_session_handshake call fails, returning -43
(LIBSSH2_ERROR_SOCKET_RECV). On the ARM computer, the log file shows:
"error: kex protocol error: type 5 seq 2 [preauth]".

Long story short, the problem appears to be documented here:
https://github.com/libssh2/libssh2/issues/388

There is also evidently a patch, #397. How does one go about applying a
patch? I have GIT for Windows but do not know what to put on the command
line.

Thanks!

Dave Colter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2020-04-09