Skip to content

Commit d430856

Browse files
committed
Merge pull request ruby-ldap#234 from justinoue/master
Fixed capitalization of StartTLSError
2 parents dac6caf + 4eeb638 commit d430856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldap/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def setup_encryption(args)
130130
if pdu.result_code.zero?
131131
@conn = self.class.wrap_with_ssl(@conn, args[:tls_options])
132132
else
133-
raise Net::LDAP::StartTlSError, "start_tls failed: #{pdu.result_code}"
133+
raise Net::LDAP::StartTLSError, "start_tls failed: #{pdu.result_code}"
134134
end
135135
else
136136
raise Net::LDAP::EncMethodUnsupportedError, "unsupported encryption method #{args[:method]}"

0 commit comments

Comments
 (0)