Project

General

Profile

Feature #13389 » 0001-ssl_socket_connect-for-pop.patch

ahorek (Pavel Rosický), 03/29/2017 07:54 PM

View differences:

lib/net/pop.rb
context.set_params(@ssl_params)
s = OpenSSL::SSL::SSLSocket.new(s, context)
s.sync_close = true
s.connect
ssl_socket_connect(s, @open_timeout)
if context.verify_mode != OpenSSL::SSL::VERIFY_NONE
s.post_connection_check(@address)
end
    (1-1/1)