File: 01_use_ca-certificates.patch

package info (click to toggle)
ruby-excon 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,240 kB
  • sloc: ruby: 7,970; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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(-)

diff --git a/lib/excon/constants.rb b/lib/excon/constants.rb
index 401723b..92428bc 100644
--- 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