File: 01_use_ca-certificates.patch

package info (click to toggle)
ruby-excon 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: ruby: 8,585; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 595 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Laurent Bigonville <bigon@debian.org>
Date: Thu, 3 Oct 2024 20:00:07 -0300
Subject: Use SSL certificates from ca-certificates package

Forwarded: not-needed
Last-Updated: 2013-05-16
---
 lib/excon/constants.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/excon/constants.rb
+++ b/lib/excon/constants.rb
@@ -2,7 +2,7 @@
 module Excon
   CR_NL = "\r\n"
 
-  DEFAULT_CA_FILE = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'data', 'cacert.pem'))
+  DEFAULT_CA_FILE = '/etc/ssl/certs/ca-certificates.crt'
 
   DEFAULT_CHUNK_SIZE = 1_048_576 # 1 megabyte