Skip to content

Commit d2965ed

Browse files
committed
Merge branch 'maint-2.2' into maint-3.0
* maint-2.2: Ruby/OpenSSL 2.2.2 Ruby/OpenSSL 2.1.4 Make GitHub Actions happy on 2.1/2.2 branches test/openssl/test_cipher: skip AES-CCM tests on OpenSSL <= 1.1.1b ignore pkgconfig when any openssl option is specified
2 parents f54b5e5 + de8a644 commit d2965ed

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

History.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ Notable changes
100100
[[GitHub #342]](https://github.com/ruby/openssl/issues/342)
101101

102102

103+
Version 2.2.2
104+
=============
105+
106+
Merged changes in 2.1.4.
107+
108+
103109
Version 2.2.1
104110
=============
105111

@@ -194,6 +200,16 @@ Notable changes
194200
[[GitHub #297]](https://github.com/ruby/openssl/pull/297)
195201

196202

203+
Version 2.1.4
204+
=============
205+
206+
Bug fixes
207+
---------
208+
209+
* Do not use pkg-config if --with-openssl-dir option is specified.
210+
[[GitHub #486]](https://github.com/ruby/openssl/pull/486)
211+
212+
197213
Version 2.1.3
198214
=============
199215

ext/openssl/extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
require "mkmf"
1515

16-
dir_config("openssl")
16+
dir_config_given = dir_config("openssl").any?
1717
dir_config("kerberos")
1818

1919
Logging::message "=== OpenSSL for Ruby configurator ===\n"
@@ -92,7 +92,7 @@ def find_openssl_library
9292
end
9393

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

9797
if !pkg_config_found && !find_openssl_library
9898
Logging::message "=== Checking for required stuff failed. ===\n"

0 commit comments

Comments
 (0)