stream-ruby-3.1-rhel-9.4.0: Fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS.
Summary of Changes
This merge request is to fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS, and it has 5 commits.
The first 3 commits are to fix FTBFS. The commits exist in c9s branch and Fedora rawhide branch too. I actually ported the commits from my forked branch in RHEL, and edited the commit message explaining it is backported from Fedora rawhide.
The 4th commit is the main commit to fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS. It was backported from Fedora rawhide, https://src.fedoraproject.org/rpms/ruby/c/1f35109c5e7f5df5b51708cc46150b0f4949229a?branch=rawhide.
The 5th commit is a patch to fix another CentOS 9 stream specific failures. I observed the failures (error) in my forked branch in RHEL 9 too. The commit is ported from my forked branch in RHEL.
The scratch build is https://kojihub.stream.centos.org/koji/taskinfo?taskID=2922238.
Note the that the issue ticket number is still written as RHEL-NNNN
in the commit message, as I need to create tickets cloned from the https://issues.redhat.com/browse/RHEL-5590 to fix this issue on Ruby 3.1/3.0 branches (c9s, stream-ruby-3.1-rhel-9.4.0, stream-ruby-3.1-rhel-9.3.0) in CentOS 9 stream.
In the meantime, you can review this PR. Thanks.
Approved Development Ticket
All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.