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

package info (click to toggle)
python-certifi 2016.2.28-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 808 kB
  • ctags: 26
  • sloc: python: 64; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 632 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
24
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(-)

diff --git a/certifi/core.py b/certifi/core.py
index e7ae2ee..be892af 100644
--- a/certifi/core.py
+++ b/certifi/core.py
@@ -19,9 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning):
 
 
 def where():
-    f = os.path.split(__file__)[0]
-
-    return os.path.join(f, 'cacert.pem')
+    return "/etc/ssl/certs/ca-certificates.crt"
 
 
 def old_where():