Project

General

Profile

Feature #16611 ยป 0001-Add-SNI-support-to-net-smtp.patch

nevans (Nicholas Evans), 02/05/2020 09:06 PM

View differences:

lib/net/smtp.rb
s = ssl_socket(s, @ssl_context)
logging "TLS connection started"
s.sync_close = true
s.hostname = @address if s.respond_to? :hostname=
ssl_socket_connect(s, @open_timeout)
if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
s.post_connection_check(@address)
    (1-1/1)