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

Conversation

nmathewson
Copy link
Contributor

No description provided.

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.
Patch from Andrew John Hughes; partial fix for 19981.
@coveralls
Copy link

coveralls commented Apr 18, 2018

Pull Request Test Coverage Report for Build 596

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • 7109 unchanged lines in 27 files lost coverage.
  • Overall coverage increased (+0.09%) to 58.905%

Files with Coverage Reduction New Missed Lines %
src/or/or.h 1 75.0%
src/or/shared_random.c 3 82.53%
src/or/dircollate.c 4 96.55%
src/or/connection.h 4 0.0%
src/or/circuitmux_ewma.c 5 87.18%
src/common/token_bucket.c 6 84.29%
src/common/sandbox.c 11 19.05%
src/or/periodic.c 13 75.0%
src/or/hs_common.c 23 83.52%
src/or/command.c 40 2.35%
Totals Coverage Status
Change from base Build 502: 0.09%
Covered Lines: 40493
Relevant Lines: 68743

💛 - Coveralls

(The originally submitted version of a15b2c5 broke
with OpenSSL 1.1.0.)
@tor-bot tor-bot merged commit d6a773f into torproject:master Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants