libssh2: [libssh 1.10.1_dev] Error "Invalid MAC received" when building without HAVE_EVP_AES_128_CTR

Using libgit2 + libssh2 + openssl 1.1.1 compiled with mingw-w64. After upgrading from 1.10.0 to 1.10.1_dev (master branch) cloning git+ssh repos from GitHub fails with:

Error in libgit2::git_clone : failed to start SSH session: Invalid MAC received

Reverting to libssh2 1.10.1 fixes the problem, so there seems to be a regression. Afaict, the issue only appears on Windows. What recent changes could be causing this?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (19 by maintainers)

Commits related to this issue

Most upvoted comments

I think the best solution here is to remove the option to build without HAVE_EVP_AES_128_CTR. I think all openssl versions have this function, the only reason why it is not set is that autoconf fails to detect it.