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 fd2d1ed commit e59543bCopy full SHA for e59543b
lib/net/ldap/connection.rb
@@ -91,7 +91,7 @@ def self.wrap_with_ssl(io, tls_options = {})
91
def setup_encryption(args)
92
case args[:method]
93
when :simple_tls
94
- @conn = self.class.wrap_with_ssl(@conn, args[:tls_options])
+ @conn = self.class.wrap_with_ssl(@conn, args.fetch(:tls_options, {}))
95
# additional branches requiring server validation and peer certs, etc.
96
# go here.
97
when :start_tls
0 commit comments