Skip to content

Commit bfe15d4

Browse files
committed
Fix deprecated require of openssl
1 parent 58cddae commit bfe15d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vertica/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def socket
3737
@socket ||= begin
3838
raw_socket = TCPSocket.new(@options[:host], @options[:port].to_i)
3939
if @options[:ssl]
40-
require 'openssl/ssl'
40+
require 'openssl'
4141
raw_socket.write Vertica::Messages::SslRequest.new.to_bytes
4242
if raw_socket.read(1) == 'S'
4343
raw_socket = OpenSSL::SSL::SSLSocket.new(raw_socket, OpenSSL::SSL::SSLContext.new)

0 commit comments

Comments
 (0)