Skip to content

Commit

Permalink
Removed temporary workaround for MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 11, 2024
1 parent fdb2bee commit 5f5d84a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/openssl/test_x509req.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def test_public_key
end

def test_version
omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
req = issue_csr(0, @dn, @rsa1024, OpenSSL::Digest.new('SHA1'))
assert_equal(0, req.version)
req = OpenSSL::X509::Request.new(req.to_der)
Expand Down Expand Up @@ -97,7 +96,6 @@ def test_attr
end

def test_sign_and_verify_rsa_sha1
omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
req = issue_csr(0, @dn, @rsa1024, OpenSSL::Digest.new('SHA1'))
assert_equal(true, req.verify(@rsa1024))
assert_equal(false, req.verify(@rsa2048))
Expand Down

0 comments on commit 5f5d84a

Please sign in to comment.