Skip to content

Commit

Permalink
adding check condition for openssl 3.0.9
Browse files Browse the repository at this point in the history
Signed-off-by: muthuja <muthujabavaji.vempalli@progress.com>
  • Loading branch information
muthuja committed Mar 12, 2024
1 parent c77cfb4 commit 8979311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/software/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@
# We need those algorithms for the working of chef-workstation and other packages.
# This patch will enable the legacy providers!
if windows?
if version.start_with? "= 3.0.11"
if version.start_with? "= 3.0.9"
configure_args << "enable-legacy"
patch source: "openssl-3-0-11-enable-legacy-provider.patch", env: patch_env
patch source: "openssl-3-0-9-enable-legacy-provider.patch", env: patch_env
end
else
configure_args << "enable-legacy"
Expand All @@ -196,6 +196,8 @@

if version.start_with?("1.0.2") && windows?
patch source: "openssl-1.0.1j-windows-relocate-dll.patch", env: env
elsif version.start_with?("3.0.9") && windows?
patch source: "openssl-3-0-9-enable-legacy-provider.patch", env: env
end

make "depend", env: env
Expand Down

0 comments on commit 8979311

Please sign in to comment.