1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
usa 2021-01-31 09:45:23 +00:00
parent da5d6f31ff
commit 22c6764a00
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
#define RUBY_VERSION "2.6.7"
#define RUBY_RELEASE_DATE "2020-12-09"
#define RUBY_PATCHLEVEL 150
#define RUBY_RELEASE_DATE "2021-01-31"
#define RUBY_PATCHLEVEL 151
#define RUBY_RELEASE_YEAR 2020
#define RUBY_RELEASE_MONTH 12
#define RUBY_RELEASE_DAY 9
#define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 1
#define RUBY_RELEASE_DAY 31
#include "ruby/version.h"