Skip to content

Commit

Permalink
Merge openssl-2.2.2
Browse files Browse the repository at this point in the history
The changes can be found at:

  ruby/openssl@v2.2.1...v2.2.2
  • Loading branch information
rhenium authored and unak committed Nov 24, 2022
1 parent 5fb3cf4 commit ba5cf0f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
16 changes: 16 additions & 0 deletions ext/openssl/History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 2.2.2
=============

Merged changes in 2.1.4.


Version 2.2.1
=============

Expand Down Expand Up @@ -92,6 +98,16 @@ Notable changes
[[GitHub #297]](https://github.com/ruby/openssl/pull/297)


Version 2.1.4
=============

Bug fixes
---------

* Do not use pkg-config if --with-openssl-dir option is specified.
[[GitHub #486]](https://github.com/ruby/openssl/pull/486)


Version 2.1.3
=============

Expand Down
4 changes: 2 additions & 2 deletions ext/openssl/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

require "mkmf"

dir_config("openssl")
dir_config_given = dir_config("openssl").any?
dir_config("kerberos")

Logging::message "=== OpenSSL for Ruby configurator ===\n"
Expand Down Expand Up @@ -90,7 +90,7 @@ def find_openssl_library
end

Logging::message "=== Checking for required stuff... ===\n"
pkg_config_found = pkg_config("openssl") && have_header("openssl/ssl.h")
pkg_config_found = !dir_config_given && pkg_config("openssl") && have_header("openssl/ssl.h")

if !pkg_config_found && !find_openssl_library
Logging::message "=== Checking for required stuff failed. ===\n"
Expand Down
2 changes: 1 addition & 1 deletion ext/openssl/lib/openssl/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OpenSSL
VERSION = "2.2.1"
VERSION = "2.2.2"
end
4 changes: 2 additions & 2 deletions ext/openssl/openssl.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "openssl"
spec.version = "2.2.1"
spec.version = "2.2.2"
spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
spec.email = ["[email protected]"]
spec.summary = %q{OpenSSL provides SSL, TLS and general purpose cryptography.}
Expand All @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.3.0"

spec.add_runtime_dependency "ipaddr"
spec.add_development_dependency "rake"
spec.add_development_dependency "rake", ">= 11.2.0"
spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "test-unit", "~> 3.0"
spec.add_development_dependency "rdoc"
Expand Down

0 comments on commit ba5cf0f

Please sign in to comment.