We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cddae commit bfe15d4Copy full SHA for bfe15d4
lib/vertica/connection.rb
@@ -37,7 +37,7 @@ def socket
37
@socket ||= begin
38
raw_socket = TCPSocket.new(@options[:host], @options[:port].to_i)
39
if @options[:ssl]
40
- require 'openssl/ssl'
+ require 'openssl'
41
raw_socket.write Vertica::Messages::SslRequest.new.to_bytes
42
if raw_socket.read(1) == 'S'
43
raw_socket = OpenSSL::SSL::SSLSocket.new(raw_socket, OpenSSL::SSL::SSLContext.new)
0 commit comments