зеркало из https://github.com/github/ruby.git
test/openssl/test_ssl.rb: skip a test on OpenSSL 1.1.d or later
It fails due to "error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small". This is a tentative measurement to avoid the failure. https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20200216T093010Z.fail.html.gz test/openssl/fixture/chain/server.key should be longer. It should be documented how to create the files. BTW, it would be a good idea to dynamically create a key during test instead of fixed files.
This commit is contained in:
Родитель
01138f5853
Коммит
e37e0bfa98
|
@ -188,7 +188,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
|
|||
def test_add_certificate_chain_file
|
||||
ctx = OpenSSL::SSL::SSLContext.new
|
||||
assert ctx.add_certificate_chain_file(Fixtures.file_path("chain", "server.crt"))
|
||||
end
|
||||
end if OpenSSL::OPENSSL_VERSION_NUMBER < 0x10101040 # XXX: The current server.crt seems too short for OpenSSL 1.1.1d or later
|
||||
|
||||
def test_sysread_and_syswrite
|
||||
start_server { |port|
|
||||
|
|
Загрузка…
Ссылка в новой задаче