See https://travis-ci.org/ashkulz/NppFTP/jobs/504958471, also for NppFTP with 0.8.7 this issue could be observed for mingw64 4.8.4 build with setting -DWITH_STATIC_LIB=ON for https://github.com/ashkulz/NppFTP/pull/246. The same constellation build with MSVC seems to have no such issue, see https://ci.appveyor.com/project/ashkulz/nppftp/builds/22995813
Wed, Mar 20
Thu, Mar 14
The behaviour was observed on Fedora 29 with libssh-0.8.7-1.fc29.x86_64.
Wed, Mar 13
All is fine, I just hadn't considered that I linked the Openssl statically :-).
Please open a new bug if there is an issue with libssh and openssl linking on Windows and provide details there. Thanks!
You seem to statically link openssl, that's why you need to link crypt32.dll. This means it isn't our problem. See
Is that only happening with static linking?
Why do you need to link against crypt32, can you post the error?
Your fix for the "libcrypto.c" worked, thanks :-).
Tue, Mar 12
Do we need to add:
I compile the OpenSSL and the libSSH on a Windows 8.1 system with the mingw64 ( MSYS2 ).
Mon, Mar 11
I just tested with Fedora 29 with the latest OpenSSL 1.1.1b (openssl-1.1.1b-2.fc29.x86_64) and I am able to build the libssh without any problem. Can you clarify on what OS are you trying to compile and you see these errors?
Thu, Mar 7
Fri, Mar 1
Thu, Feb 28
FWIW seems that libssh-0.8.6 compiles fine here with LibreSSL-2.8.3
Building with openssl-1.1.1a-1.fc29.x86_64 works fine so the support window is not a problem.
Jakub, could you check once OpenSSL 1.1.1b is in rawhide?
Wed, Feb 27
Some time ago, we use WSAPoll() on Windows but it had a lot of issues that's why we stopped using it. I guess the best would be to move to a library which provides different event loops like libverto.
Thank you very much for the bug report.
Mon, Feb 25
Fri, Feb 22
Feb 21 2019
Previous patch was wrong so here is a new patch to add an option to disable Werror
"ssh_packet_socket_controlflow_callback" is only called if you initialize a connection with ssh_connect. In server mode "ssh_packet_socket_controlflow_callback" is never called.
Feb 7 2019
Actually, man page for sshd from OpenSSH says the following:
This should be fixed by b796924fea7e61a4a8813acce9e510f2359aee34
This was fixed by the previously mentioned commits that made their way into master and 0.8 branch.
Can you enable full logging and provide a log?
The timeout issues should be better with 0.8. Please update. Feel free to reopen if you have the same issues with 0.9 which will be released soon.
I'm sorry but we don't have support libressl. If you want support for it you need to implement the support for it.
This as been already addressed with 58113d489eecfeb266b82de7bb25d4a0526b9606