Skip to content

Commit 3bdde7d

Browse files
committed
ssl: allow failure on test_connect_certificate_verify_failed_exception_message
[ This patch only applies to the 3.0 and 3.1 branch. ] It is a test case for SSLSocket generating an informative error message on a certificate verification failure. A change in OpenSSL 3.1 broke it and a generic error message is currently generated. This is fixed in the 3.2 branch by commit 5113777, but I decided not to backport the commit to the 3.0 branch because the diff doesn't apply cleanly.
1 parent ee9e162 commit 3bdde7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/openssl/test_ssl.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,9 @@ def test_verify_hostname_failure_error_code
995995
end
996996

997997
def test_connect_certificate_verify_failed_exception_message
998+
# Won't fix on the 3.0 branch
999+
return if openssl?(3, 1, 0)
1000+
9981001
start_server(ignore_listener_error: true) { |port|
9991002
ctx = OpenSSL::SSL::SSLContext.new
10001003
ctx.set_params

0 commit comments

Comments
 (0)