Skip to content

Commit ee26e27

Browse files
MSP-Gregeregon
authored andcommitted
Updates for Windows MSYS2 update to OpenSSL 3
1 parent 93287a1 commit ee26e27

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

dist/index.js

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

windows.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ async function installGCCTools(type, version) {
103103
// 2022-Dec ruby/msys2-gcc-pkgs now uses a suffix to delineate different archive versions.
104104
// At present, the only use is to indicate the included OpenSSL version.
105105
// With no suffix, archives include OpenSSL 1.1.1, with a '-3.0' suffix, they include
106-
// OpenSSL 3.0.x.
107-
// Currently, OpenSSL 3 is used in Ruby 3.2 & 'head', both use a custom RubyInstaller2 package.
106+
// OpenSSL 3.0.x. Note that the mswin archive uses OpenSSL 3.
107+
// As of Jan-2023, OpenSSL 3 is used in Ruby 3.2 & all head versions. MSYS2 updated
108+
// to OpenSSL 3 on 14-Jan-2023.
108109
let suffix = ''
109-
if ((version === 'head') || (!common.isHeadVersion(version) && common.floatVersion(version) >= 3.2)) {
110+
if (common.isHeadVersion(version) || common.floatVersion(version) >= 3.2) {
110111
suffix = '-3.0'
111112
}
112113
const downloadPath = await common.measure(`Downloading ${type}${suffix} build tools`, async () => {

0 commit comments

Comments
 (0)