8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78fe0b6 commit 0ce2770Copy full SHA for 0ce2770
test/openssl/test_ssl.rb
@@ -998,7 +998,9 @@ def test_connect_certificate_verify_failed_exception_message
998
start_server(ignore_listener_error: true) { |port|
999
ctx = OpenSSL::SSL::SSLContext.new
1000
ctx.set_params
1001
- assert_raise_with_message(OpenSSL::SSL::SSLError, /certificate/) {
+ # OpenSSL <= 1.1.0: "self signed certificate in certificate chain"
1002
+ # OpenSSL >= 3.0.0: "self-signed certificate in certificate chain"
1003
+ assert_raise_with_message(OpenSSL::SSL::SSLError, /self.signed/) {
1004
server_connect(port, ctx)
1005
}
1006
0 commit comments