Skip to content

Commit

Permalink
don't need the whole default hash for a verify?
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Maher committed Aug 24, 2016
1 parent efd354a commit 0926274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/test_bind.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def test_bind_tls_valid_hostname_system_ca_on_travis_passes

@ldap.encryption(
method: :start_tls,
tls_options: TLS_OPTS.merge(verify_mode: OpenSSL::SSL::VERIFY_PEER),
tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER },
)
assert @ldap.bind(BIND_CREDS),
@ldap.get_operation_result.inspect
Expand All @@ -231,7 +231,7 @@ def test_bind_tls_valid_hostname_system_on_vagrant_fails

@ldap.encryption(
method: :start_tls,
tls_options: TLS_OPTS.merge(verify_mode: OpenSSL::SSL::VERIFY_PEER),
tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER },
)
error = assert_raise Net::LDAP::Error do
@ldap.bind BIND_CREDS
Expand Down

0 comments on commit 0926274

Please sign in to comment.