Skip to content

Commit

Permalink
Fixed capitalization of StartTLSError
Browse files Browse the repository at this point in the history
  • Loading branch information
justinoue committed Nov 9, 2015
1 parent 01ee008 commit 4eeb638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/ldap/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def setup_encryption(args)
if pdu.result_code.zero?
@conn = self.class.wrap_with_ssl(@conn, args[:tls_options])
else
raise Net::LDAP::StartTlSError, "start_tls failed: #{pdu.result_code}"
raise Net::LDAP::StartTLSError, "start_tls failed: #{pdu.result_code}"
end
else
raise Net::LDAP::EncMethodUnsupportedError, "unsupported encryption method #{args[:method]}"
Expand Down

0 comments on commit 4eeb638

Please sign in to comment.