extconf.rb: fix build with LibreSSL 2.7.0#193
Merged
rhenium merged 1 commit intoruby:maint-2.0from May 12, 2018
Merged
Conversation
Our compat implementation of accessor functions that were introduced in OpenSSL 1.1.0 conflicts with those from LibreSSL 2.7.0. Use the HAVE_OPAQUE_OPENSSL code path when LibreSSL 2.7 or newer is detected. Fix suggested by Joel Sing. Fixes: ruby#192
Sp1l
added a commit
to HardenedBSD/hardenedbsd-ports
that referenced
this pull request
Apr 9, 2018
- LibreSSL 2.7 implements OpenSSL 1.1 API See also: https://bugs.freebsd.org/226852 Upstream: ruby/openssl#193 Signed-off-by: Bernard Spil <brnrd@FreeBSD.org>
Sp1l
added a commit
to HardenedBSD/hardenedbsd-ports
that referenced
this pull request
Apr 9, 2018
- LibreSSL 2.7 implements OpenSSL 1.1 API See also: https://bugs.freebsd.org/226852 Upstream: ruby/openssl#193 Signed-off-by: Bernard Spil <brnrd@FreeBSD.org>
Member
|
@rhenium Does this patch have any problem? |
Member
Author
|
@nurse Thanks for the nudge. I've released v2.0.8 and v2.1.1 that contain the fix, and created a backport request at bugs.ruby-lang.org (Bug #14754). |
Member
|
thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our compat implementation of accessor functions that were introduced in
OpenSSL 1.1.0 conflicts with those from LibreSSL 2.7.0. Use the
HAVE_OPAQUE_OPENSSL code path when LibreSSL 2.7 or newer is detected.
Fix suggested by Joel Sing.
Fixes: #192