libssh2 / libssh2

the SSH library

Home Page:https://libssh2.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support for new OpenSSL 3 APIs

MichaelBuckley opened this issue · comments

I'll be submitting a pull request shortly that implements this.

OpenSSL 1.1.1 and earlier have now been end-of-lifed, at least for those without a paid extended support contract. libssh2 still compiles with OpenSSL 3 and later, but many of the functions and types that it uses are deprecated, causing the compiler to warn about their use. This prevents projects with -Wall and -Werror enabled from compiling libssh2 from source.

OpenSSL defines a OPENSSL_VERSION_NUMBER that can be used to detect the version number at compile time. This could be used to conditionally compile code that uses the new, non-deprecated OpenSSL APIs.

Implemented in #1207.

Closing this in favour of #1235, where we track a remaining issue.