Skip OpenSSL::TestHMAC#test_dup when running with RHEL9

This commit is contained in:
Hiroshi SHIBATA 2023-01-30 16:55:14 +09:00
parent 4ffef59bb1
commit b432867429
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -21,6 +21,9 @@ class OpenSSL::TestHMAC < OpenSSL::TestCase
end
def test_dup
require "etc"
pend "[Bug #19386] OpenSSL 3.0.1 of RHEL9 is not working this test" if Etc.uname[:release] =~ /el9/
h1 = OpenSSL::HMAC.new("KEY", "MD5")
h1.update("DATA")
h = h1.dup