Permalink
Browse files

bug #20395 : ssl_verification was on by default. Fixed (off).

  • Loading branch information...
1 parent 1fab427 commit 1315873fe8b5d0dc4e0e74efcbe4f9870683882d @jmettraux jmettraux committed May 28, 2008
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG.txt
  2. +2 −2 lib/rufus/verbs/endpoint.rb
View
@@ -3,6 +3,7 @@
== rufus-verbs - 0.10 not yet released
+- bug #20395 : ssl_verification was on by default. Fixed (off).
- todo #18981 : added timeout tuning (:timeout / :to)
@@ -395,9 +395,9 @@ def prepare_http (opts)
http.enable_post_connection_check = true
http.verify_mode = if o(opts, :ssl_verify_peer)
- OpenSSL::SSL::VERIFY_NONE
- else
OpenSSL::SSL::VERIFY_PEER
+ else
+ OpenSSL::SSL::VERIFY_NONE
end
store = OpenSSL::X509::Store.new

0 comments on commit 1315873

Please sign in to comment.