An interpreter of object-oriented scripting language
Go to file
Jarek Prokop 42815870a9 OpenSSL test suite fixes due to disabled SHA1.
Backport OpenSSL test suite fixes from the C9S branch stream-ruby-3.1-rhel-9.1.0
Patches were backported from commit: 20188a8a3f .

Changes:
Firstly, replace SHA1 with SHA256 and higher in tests.
SHA1 is disabled by default on C9S and RHEL 9.

Secondly, apply ossl_ocsp-use-null patch.
C9S/RHEL9 have SHA1 disabled by default, so using the OCSP with
default arguments on a default C9S/RHEL9 installation will result in an
OpenSSL error. This patch, when OCSP does not receive a digest explicitly, will
let OpenSSL decide which digest to use instead of using a default, thus
preventing usage of disabled digests.
See <https://github.com/ruby/openssl/pull/507>.

OPENSSL_ENABLE_SHA1_SIGNATURES=1 enables SHA1 for
OpenSSL in order to enable tests using SHA1 certificates, at least running
the tests is preferable to not running them at all.

Resolves: rbhz#2107696
2022-08-03 10:11:30 +02:00
.gitignore Merged update from upstream sources 2021-01-08 15:41:21 +00:00
gating.yaml Add gating.yaml based on baseosci results 2022-02-14 08:40:39 +00:00
libruby.stp RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
macros.ruby RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
macros.rubygems Pass ldflags to gem install 2021-08-19 16:24:37 +02:00
operating_system.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby-1.9.3-mkmf-verbose.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby-2.1.0-always-use-i386.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.1.0-custom-rubygems-location.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.3.0-ruby_version.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-2.7.0-Initialize-ABRT-hook.patch Merged update from upstream sources 2021-01-08 15:41:21 +00:00
ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch Merged update from upstream sources 2021-01-08 15:41:21 +00:00
ruby-3.0.3-ext-openssl-extconf.rb-require-OpenSSL-version-1.0.1.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Add-more-support-for-generic-pkey-types.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-addr2line-DW_FORM_ref_addr.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Allocate-EVP_PKEY-on-initialize.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Allow-setting-algorithm-specific-options-in-sign-and-verify.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Deprecate-PKey-set_-and-PKey-DH-EC-generate_key.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Disable-test_no_private_exp-on-OpenSSL-3.0.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch Prevent segfaults running with SystemTap. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Get-rid-of-type-punning-pointer-casts.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Ignore-DW_FORM_ref_addr.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Implement-PKey-encrypt-decrypt-sign_raw-verify_raw-and-verify_recover.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Migrate-from-the-low-level-HMAC-API-to-the-EVP-API.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Miscellaneous-changes-for-OpenSSL-3.0-support-part-2.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Miscellaneous-changes-for-OpenSSL-3.0-support.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Properly-exclude-test-cases.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Refactor-PEM-DER-serialization-code.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Support-GCCs-DWARF-5.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-test-openssl-test_digest-do-not-test-constants-for-l.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-test-openssl-test_pkcs12-fix-test-failures-with-Open.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-test-openssl-test_pkey-use-EC-keys-for-PKey.generate.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-test-openssl-test_ssl-relax-regex-to-match-OpenSSL-s.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-test-openssl-utils-remove-dup_public-helper-method.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Use-EVP-API-in-more-places.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Use-high-level-EVP-interface-to-generate-parameters-and-keys.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Use-mmap-for-allocating-heap-pages-in-the-GC.patch Upgrade to ruby 3.0.4. 2022-08-02 11:42:55 +02:00
ruby-3.1.0-Use-OSSL_DECODER-to-load-encrypted-PEM-on-OpenSSL-3.0.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
ruby-3.1.1-ossl_ocsp-use-null.patch OpenSSL test suite fixes due to disabled SHA1. 2022-08-03 10:11:30 +02:00
ruby-3.1.2-ossl-tests-replace-sha1.patch OpenSSL test suite fixes due to disabled SHA1. 2022-08-03 10:11:30 +02:00
ruby-exercise.stp RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby.rpmlintrc Additional enhancement changes 2021-08-19 16:24:37 +02:00
ruby.spec OpenSSL test suite fixes due to disabled SHA1. 2022-08-03 10:11:30 +02:00
rubygems-3.2.30-Provide-distinguished-name-which-will-be-correctly-p.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
rubygems-3.2.33-Fix-loading-operating_system-rb-customizations-too-late.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
rubygems-3.3.1-Fix-compatibility-with-OpenSSL3.0.patch Update OpenSSL 3 compatibility patches. 2022-02-11 13:52:42 +01:00
rubygems.attr RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.con RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.prov RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.req RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
sources Upgrade to ruby 3.0.4. 2022-08-02 11:42:55 +02:00
test_abrt.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
test_systemtap.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00