Project

General

Profile

Feature #15594 ยป 0001-net-imap-support-SNI.patch

Keruspe (Marc-Antoine Perennou), 02/27/2019 04:32 PM

View differences:

lib/net/imap.rb
end
@sock = SSLSocket.new(@sock, context)
@sock.sync_close = true
@sock.hostname = @host if @sock.respond_to? :hostname=
ssl_socket_connect(@sock, @open_timeout)
if context.verify_mode != VERIFY_NONE
@sock.post_connection_check(@host)
    (1-1/1)