diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index 9cfb016..a31790f 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -1,6 +1,8 @@ require 'openssl' require 'ostruct' +require 'socket' + require 'net/ber' require 'net/ldap/pdu' require 'net/ldap/filter' diff --git a/spec/integration/ssl_ber_spec.rb b/spec/integration/ssl_ber_spec.rb index 6132ede..20f3eac 100644 --- a/spec/integration/ssl_ber_spec.rb +++ b/spec/integration/ssl_ber_spec.rb @@ -1,8 +1,5 @@ require 'spec_helper' -require 'socket' -require 'openssl' - require 'net/ldap' describe "BER serialisation (SSL)" do