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 a3e59f4 commit b5a0a19Copy full SHA for b5a0a19
test/openssl/test_ssl.rb
@@ -1023,7 +1023,9 @@ def test_connect_certificate_verify_failed_exception_message
1023
start_server(ignore_listener_error: true) { |port|
1024
ctx = OpenSSL::SSL::SSLContext.new
1025
ctx.set_params
1026
- assert_raise_with_message(OpenSSL::SSL::SSLError, /self signed/) {
+ # OpenSSL <= 1.1.0: "self signed certificate in certificate chain"
1027
+ # OpenSSL >= 3.0.0: "self-signed certificate in certificate chain"
1028
+ assert_raise_with_message(OpenSSL::SSL::SSLError, /self.signed/) {
1029
server_connect(port, ctx)
1030
}
1031
0 commit comments