Skip to content

Commit f2e2a5e

Browse files
committed
test/openssl/test_pkey.rb: allow failures in test_s_generate_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: #492
1 parent e5bbd01 commit f2e2a5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/openssl/test_pkey.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ def test_s_generate_parameters
4747
raise "exit!" if cb_called.size == 3
4848
}
4949
}
50+
if !cb_called && openssl?(3, 0, 0) && !openssl?(3, 0, 6)
51+
# Errors in BN_GENCB were not properly handled. This special pend is to
52+
# suppress failures on Ubuntu 22.04, which uses OpenSSL 3.0.2.
53+
pend "unstable test on OpenSSL 3.0.[0-5]"
54+
end
5055
assert_not_empty cb_called
5156
end
5257

0 commit comments

Comments
 (0)