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

[2.1.x and 2.2.x] ext/openssl/extconf.rb: require OpenSSL version >= 1.0.1, < 3 #458

Merged
merged 3 commits into from
Sep 27, 2021

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Sep 27, 2021

Ruby/OpenSSL 2.1.x and 2.2.x will not support OpenSSL 3.0 API. Let's
make extconf.rb explicitly check the version number to be within the
acceptable range, since it will not compile anyway.

[Misc #18192] https://bugs.ruby-lang.org/issues/18192

This is a backport to the 2.1 branch of the following commits:

 - a0e98d4 ("Enhance TLS 1.3 support on LibreSSL 3.2/3.3", 2020-12-03)
 - a9954ba ("test: adjust test cases for LibreSSL 3.2.4", 2021-02-25)
Ruby/OpenSSL 2.1.x and 2.2.x will not support OpenSSL 3.0 API. Let's
make extconf.rb explicitly check the version number to be within the
acceptable range, since it will not compile anyway.

Reference: https://bugs.ruby-lang.org/issues/18192
@rhenium rhenium merged commit 87887fe into ruby:maint-2.1 Sep 27, 2021
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.

1 participant