Skip to content

Commit

Permalink
Revert "Fix RUBY-1766 Typo in tlsAllowInvalidCertificates and tlsAllo…
Browse files Browse the repository at this point in the history
…wInvalidHostnames"

This reverts commit 5a13799.
  • Loading branch information
p committed Mar 21, 2019
1 parent ce8f070 commit 643737c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/ruby-driver-create-client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ URI Options Conversions

Because ``tlsAllowInvalidCertificates`` uses ``true`` to signify that verification
should be disabled and ``ssl_verify_certificate`` uses ``false`` to signify that
verification should be enabled, the boolean is inverted before being used to set
verification should be disabled, the boolean is inverted before being used to set
``ssl_verify_certificate``.

* - tlsAllowInvalidHostnames=Boolean
- ``:ssl_verify_hostname => boolean``

Because ``tlsAllowInvalidHostnames`` uses ``true`` to signify that verification
should be disabled and ``ssl_verify_hostname`` uses ``false`` to signify that
verification should be enabled, the boolean is inverted before being used to set
verification should be disabled, the boolean is inverted before being used to set
``ssl_verify_hostname``.

* - tlsCAFile=String
Expand Down

0 comments on commit 643737c

Please sign in to comment.