Skip to content

Commit

Permalink
Got it! have to adjust FIPS now, moving FIPS support back to the main…
Browse files Browse the repository at this point in the history
… openssl.rb file for v3 and laster in onnibus-software

Signed-off-by: John McCrae <john.mccrae@progress.com>
  • Loading branch information
johnmccrae committed Apr 25, 2024
1 parent c5512e1 commit 25f7491
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/software/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@
if windows?
# Needed now that we switched to msys2 and have not figured out how to tell
# it how to statically link yet
require 'find'
puts "***************************"
puts "** Searching for Openssl **"
puts "***************************"
Find.find('openssl.exe') { |f| puts f }


files = [
"libcrypto-3-x64.dll",
"libssl-3-x64.dll",
Expand All @@ -328,8 +335,7 @@
msys_path = ENV["MSYS2_INSTALL_DIR"] ? "#{ENV["MSYS2_INSTALL_DIR"]}" : "#{ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"]}/embedded/bin"
windows_path = "#{msys_path}/usr/local/bin/#{file}"
puts "checking for this file: #{windows_path}"
require 'find'
Find.find('openssl.exe') { |f| puts f }

if File.exist?(windows_path)
puts "writing openssl file #{file} to the /embedded directory"
copy windows_path, "#{install_dir}/embedded/bin/#{file}"
Expand Down

0 comments on commit 25f7491

Please sign in to comment.