From 83406ee5ca7f26c0a6580e3ca2d5942b2b3a27a3 Mon Sep 17 00:00:00 2001 From: Justin Ouellette Date: Sun, 8 Nov 2015 21:13:30 -0500 Subject: [PATCH] Fixed capitalization of StartTLSError --- lib/net/ldap/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ldap/connection.rb b/lib/net/ldap/connection.rb index 4e3f6dd0..71ff7b43 100644 --- a/lib/net/ldap/connection.rb +++ b/lib/net/ldap/connection.rb @@ -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]}"