gentoo-full-overlay/dev-ruby/right_http_connection/files/right_http_connection-1.2.4+ruby-1.9.patch

10 lines
464 B
Diff

--- lib/right_http_connection.rb.old 2010-01-28 00:35:07.000000000 +0100
+++ lib/right_http_connection.rb 2010-02-11 20:20:28.872034048 +0100
@@ -299,6 +299,7 @@
true
}
@http.use_ssl = true
+ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE # Looks like Ruby 1.9 defaults to VERIFY_PEER which doesn't work well
ca_file = get_param(:ca_file)
if ca_file
@http.verify_mode = OpenSSL::SSL::VERIFY_PEER