Skip to content

Add Support for new OpenSSL 3 APIs #1206

Closed

Description

@MichaelBuckley

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.

Activity

  1. vszakats commented on Nov 24, 2023

    @vszakats
    Member

    Implemented in #1207.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions