Package: ruby-openssl / 2.1.2-1

Metadata

Package Version Patches format
ruby-openssl 2.1.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 test test_pair fix deadlock in test_connect_accept_n.patch | (download)

test/test_pair.rb | 51 22 + 29 - 0 !
1 file changed, 22 insertions(+), 29 deletions(-)

 test/test_pair: fix deadlock in test_connect_accept_nonblock

Call IO.select with a timeout value and limit the number of retries to
prevent stacking forever.

Reference: https://github.com/ruby/openssl/issues/214

0002 test use larger keys for SSL tests.patch | (download)

test/fixtures/pkey/dh-1.pem | 13 13 + 0 - 0 !
test/fixtures/pkey/rsa-1.pem | 51 51 + 0 - 0 !
test/fixtures/pkey/rsa-2.pem | 51 51 + 0 - 0 !
test/fixtures/pkey/rsa-3.pem | 51 51 + 0 - 0 !
test/test_pair.rb | 8 4 + 4 - 0 !
test/test_pkey_dh.rb | 8 4 + 4 - 0 !
test/test_ssl.rb | 11 6 + 5 - 0 !
test/utils.rb | 14 6 + 8 - 0 !
8 files changed, 186 insertions(+), 21 deletions(-)

 test: use larger keys for ssl tests

Some systems enforce a system-wide policy to restrict key sizes used in
SSL/TLS. Use larger ones if possible so that the test suite runs
successfully.

New PEM files test/fixtures/pkey/{dh-1,rsa-1,rsa-2,rsa-3}.pem are added
to the tree, and SSL tests now use them instead of the fixed-size keys.

Reference: https://github.com/ruby/openssl/issues/215