Clear the OpenSSL error queue when an OpenSSL function fails with SSL_ERROR_SYSCALL. ruby/openssl methods are expected not to leave stale entries in the error queue. While this no longer appears to happen with OpenSSL >= 3.0, LibreSSL a...rhenium (Kazuki Yamaguchi)
`io.gets(rs, limit)` ignores the `limit` value and reads until `rs` is found or EOF, if the `limit`-th byte of the stream matches `rs`'s last byte and: 1. The potential start of the record separator, the `limit-rs.bytesize`-th byte of...rhenium (Kazuki Yamaguchi)
Add more assertions to actually test that the ndots option is working as expected: the option controls the threshold that the search list should be attempted earlier or later. https://github.com/ruby/resolv/commit/a6b5856ef4rhenium (Kazuki Yamaguchi)
When search list is not explicitly specified, Resolv::DNS checks the local domain name of the running system. If it is not set either, the root domain ['.'] is used. This is conceptually correct, but the code handles the absolute name s...rhenium (Kazuki Yamaguchi)
keyEncipherment should be set only when the subject public key is used for key transport, and dataEncipherment only when it is used to directly encrypt user data. RubyGems uses the key for neither purpose. These key usages are also not ...rhenium (Kazuki Yamaguchi)
Fix some typos, document that assigning 0 has the same effect as assigning nil, and mention that SSLContext#security_level= may also affect protocol version selection. https://github.com/ruby/openssl/commit/d005e6d16brhenium (Kazuki Yamaguchi)
Since we have dropped support for OpenSSL 1.0.2, all versions of OpenSSL and compatible libraries we currently support can speak TLS 1.2 and TLS 1.3. We can use this to simplify tests around the protocol version negotiation. https://git...rhenium (Kazuki Yamaguchi)
Update more tests to use start_server_proc instead of UNIXSocket.pair. It runs threads with timeout and prevents "rake test" from hanging indefinitely. It also produces better error messages when a test fails. https://github.com/ruby/op...rhenium (Kazuki Yamaguchi)