Feature #16611 ยป 0001-Add-SNI-support-to-net-smtp.patch
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)
|