Skip to content

Commit

Permalink
Merge pull request #761 from puppetlabs/david-test-two
Browse files Browse the repository at this point in the history
(CAT-1505) Update Windows values for when using OpenSSL 3
  • Loading branch information
joshcooper authored Nov 14, 2023
2 parents fd53e36 + aedf129 commit 944f15c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configs/components/_base-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@
ssl_postfix = ''
end

if Gem::Version.new(settings[:openssl_version]) >= Gem::Version.new('1.1.0')
if Gem::Version.new(settings[:openssl_version]) >= Gem::Version.new('3.0')
ssl_lib = "libssl-3#{ssl_postfix}.dll"
crypto_lib = "libcrypto-3#{ssl_postfix}.dll"
elsif Gem::Version.new(settings[:openssl_version]) >= Gem::Version.new('1.1.0')
ssl_lib = "libssl-1_1#{ssl_postfix}.dll"
crypto_lib = "libcrypto-1_1#{ssl_postfix}.dll"
else
Expand Down

0 comments on commit 944f15c

Please sign in to comment.