[ruby-core:113894] [Ruby master Bug#19707] Backport openssl fix to ruby_3_2 branch