Skip to content

extconf.rb: fix build with LibreSSL 2.7.0 - #193

Merged
rhenium merged 1 commit into
ruby:maint-2.0from
rhenium:ky/libressl-2.7
May 12, 2018
Merged

rhenium merged 1 commit into
ruby:maint-2.0from
rhenium:ky/libressl-2.7

Conversation

@rhenium

@rhenium rhenium commented Mar 23, 2018

Copy link
Copy Markdown
Member

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

nurse commented May 11, 2018

Copy link
Copy Markdown
Member

@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

rhenium commented May 12, 2018

Copy link
Copy Markdown
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).

@nurse

nurse commented May 12, 2018

Copy link
Copy Markdown
Member

thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants