File: 0001-Use-Debian-provided-etc-ssl-certs-ca-certificates.cr.patch

package info (click to toggle)
python-certifi 2018.8.24-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 420 kB
  • sloc: python: 69; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 702 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
22
23
24
25
26
27
From: =?utf-8?q?S=C3=A9bastien_Delafond?= <sdelafond@gmail.com>
Date: Sat, 3 Oct 2015 14:36:50 +0200
Subject: Use Debian-provided /etc/ssl/certs/ca-certificates.crt instead of
 certifi's list.

---
 certifi/core.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 mode change 100644 => 100755 certifi/core.py

diff --git a/certifi/core.py b/certifi/core.py
old mode 100644
new mode 100755
index f41d3fd..1fc8a58
--- a/certifi/core.py
+++ b/certifi/core.py
@@ -19,9 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning):
 
 
 def where():
-    f = os.path.dirname(__file__)
-
-    return os.path.join(f, 'cacert.pem')
+    return "/etc/ssl/certs/ca-certificates.crt"
 
 
 def old_where():