You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/right_http_connection/files/right_http_connection-1.2.4...

11 lines
464 B

--- 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