summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-di
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18-base/patches/patch-di')
-rw-r--r--lang/ruby18-base/patches/patch-di29
1 files changed, 0 insertions, 29 deletions
diff --git a/lang/ruby18-base/patches/patch-di b/lang/ruby18-base/patches/patch-di
deleted file mode 100644
index fd052258ed5..00000000000
--- a/lang/ruby18-base/patches/patch-di
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-di,v 1.1 2007/09/30 04:08:17 taca Exp $
-
---- lib/open-uri.rb.orig 2007-02-13 08:01:19.000000000 +0900
-+++ lib/open-uri.rb
-@@ -229,6 +229,7 @@ module OpenURI
- if target.class == URI::HTTPS
- require 'net/https'
- http.use_ssl = true
-+ http.enable_post_connection_check = true
- http.verify_mode = OpenSSL::SSL::VERIFY_PEER
- store = OpenSSL::X509::Store.new
- store.set_default_paths
-@@ -240,16 +241,6 @@ module OpenURI
-
- resp = nil
- http.start {
-- if target.class == URI::HTTPS
-- # xxx: information hiding violation
-- sock = http.instance_variable_get(:@socket)
-- if sock.respond_to?(:io)
-- sock = sock.io # 1.9
-- else
-- sock = sock.instance_variable_get(:@socket) # 1.8
-- end
-- sock.post_connection_check(target_host)
-- end
- req = Net::HTTP::Get.new(request_uri, header)
- if options.include? :http_basic_authentication
- user, pass = options[:http_basic_authentication]