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

extconf.rb: fix build with LibreSSL 2.7.0 #193

Merged
merged 1 commit into from
May 12, 2018

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Mar 23, 2018

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

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>
@nurse
Copy link
Member

nurse commented May 11, 2018

@rhenium Does this patch have any problem?
I want next patch release of Ruby include this fix.

@rhenium rhenium merged commit 02590da into ruby:maint-2.0 May 12, 2018
@rhenium
Copy link
Member Author

rhenium commented May 12, 2018

@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).

@nurse
Copy link
Member

nurse commented May 12, 2018

thanks!

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

Successfully merging this pull request may close these issues.

2 participants