I've tried to find instructions on how to build a monolithic libssh2.dll on Windows using Visual Studio.
I don't mind coming up with a good wiki page on building on Windows using Visual Studio (2015 or newer) but the hints I find on-line on how to get going are - ehm - dense or lacking. So far I've come up with a two batch files in https://gist.github.com/jpluimers/2bf514d658488a7ddfc189b0677a3a57 The first in the text of the gist compiles with WinCNG but the libssh2.dll lacks things that web-site mentions are supported like ciphers (aes128-ctr, aes256-ctr, aes192-ctr) and MAC algorithms (hmac-ripemd160, hmac-ripemd...@openssh.com). A separate batch file in the gist shows the kinds of things I've tried to make monolithic Win64/Win32 versions of libssh2.dll to no avail. So I need help, and with that help I will write docs. Then there is testing what a built libssh2.dll supports. Reading https://www.libssh2.org/ I assumed any permutation would support all features, but boy I was wrong: WinCNG lacks features and I've not even succeeded in testing the libgcrypt and mbedTLS crypto backends as documentation on how to use them is, well, my Google foo didn't find them. Since there is no libssh2 API to query for algorithms supported (there is only https://www.libssh2.org/libssh2_session_methods.html to see what's used during a session) you need convoluted `sshd -d -d -d` to figure out what is going over the line and draw conclusions. I've summarised those conclusions so far in test-results.rst at the same gist. --jeroen
_______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel