Skip to content

Commit

Permalink
[ruby/openssl] test/openssl/test_pkey.rb: allow failures in test_s_ge…
Browse files Browse the repository at this point in the history
…nerate_parameters

The root cause has been fixed by OpenSSL 3.0.6, but Ubuntu 22.04's
OpenSSL package has not backported the patch yet.

Reference: ruby/openssl#492

ruby/openssl@f2e2a5e5ed
  • Loading branch information
rhenium committed Dec 23, 2022
1 parent 8818c18 commit 911450b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/openssl/test_pkey.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ def test_s_generate_parameters
raise "exit!" if cb_called.size == 3
}
}
if !cb_called && openssl?(3, 0, 0) && !openssl?(3, 0, 6)
# Errors in BN_GENCB were not properly handled. This special pend is to
# suppress failures on Ubuntu 22.04, which uses OpenSSL 3.0.2.
pend "unstable test on OpenSSL 3.0.[0-5]"
end
assert_not_empty cb_called
end

Expand Down

0 comments on commit 911450b

Please sign in to comment.