diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-01-31 09:45:23 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-01-31 09:45:23 +0000 |
commit | 22c6764a006a5863c3bc24f3f365e6963d65ca44 (patch) | |
tree | 5710f408defe7e3ba14bc48141c13f0bfbf4de23 /test | |
parent | da5d6f31ffee86f5b20102a54ddf1ce861ab9e39 (diff) |
change the order of of SERVER_CERT and CA_CERT for OpenSSL 1.1.1
[backport #17501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 3a23410241..784f002c22 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -45,7 +45,7 @@ class TestNetHTTPS < Test::Unit::TestCase assert_equal($test_net_http_data, res.body) } # TODO: OpenSSL 1.1.1h seems to yield only SERVER_CERT; need to check the incompatibility - certs.zip([SERVER_CERT, CA_CERT]) do |actual, expected| + certs.zip([CA_CERT, SERVER_CERT]) do |actual, expected| assert_equal(expected.to_der, actual.to_der) end rescue SystemCallError |