Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with openssl built without deprecated APIs #55

Merged
merged 6 commits into from
Apr 30, 2018

Commits on Apr 18, 2018

  1. Edit our openssl detection in autoconf to tolerate no-deprecated.

    When openssl is built with no-deprecated, the TLSv1_1_method()
    function isn't visible in the headers.  That's sad, because that
    method is what we were looking at.
    
    Instead, we now look at SSL_CIPHER_get_id(), which is present in
    OpenSSL 1.0.1 and later, which is _not_ deprecated, and which is
    also present in LibreSSL.
    
    Fixes ticket 25353.  Not a bugfix exactly -- we never really worked
    with this configuration.
    nmathewson committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    8e56287 View commit details
    Browse the repository at this point in the history
  2. Add support for openssl built with "no-deprecated".

    Patch from Andrew John Hughes; partial fix for 19981.
    nmathewson committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    a15b2c5 View commit details
    Browse the repository at this point in the history
  3. Make test_tortls.c build with openssl no_deprecated.

    Also for 19981.
    nmathewson committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    9d27e3f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c296f00 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32181cb View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2018

  1. Only define X509_get_not{BeforeAfter} if they are not defined

    (The originally submitted version of a15b2c5 broke
    with OpenSSL 1.1.0.)
    nmathewson committed Apr 27, 2018
    Configuration menu
    Copy the full SHA
    d6a773f View commit details
    Browse the repository at this point in the history