-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
Testing on Fedora Rawhide with stronger crypto settings
# update-crypto-policies --set NEXT
I observe the following deadlock in OpenSSL test suite:
[ 1337/17319] OpenSSL::TestPair#test_connect_accept_nonblock#<Thread:0x000055555c3ad548@/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_pair.rb:452 run> terminated with exception (report_on_exception is true):
/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_pair.rb:453:in `initialize': SSL_CTX_use_certificate: ee key too small (OpenSSL::SSL::SSLError)
from /builddir/build/BUILD/ruby-2.5.1/test/openssl/test_pair.rb:453:in `new'
from /builddir/build/BUILD/ruby-2.5.1/test/openssl/test_pair.rb:453:in `block in test_connect_accept_nonblock'
Apparently, the thread crashes, because the DH key is too small, therefore the s2.accept_nonblock [1] is waiting for connection indefinitely. There should be either timeout, the crash of the th thread should be fatal or the state of the th thread should be checked.
Metadata
Metadata
Assignees
Labels
No labels