Skip to content

Commit

Permalink
Merge pull request #234 from justinoue/master
Browse files Browse the repository at this point in the history
Fixed capitalization of StartTLSError
  • Loading branch information
jch committed Nov 17, 2015
2 parents 9f29e15 + 83406ee commit d65c597
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 d65c597

Please sign in to comment.