summaryrefslogtreecommitdiff
path: root/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch
blob: 009f21168c1ef1fef37d1d450eeb00e116d601b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Use system's CA certificate store

--- 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 "@GENTOO_PORTAGE_EPREFIX@/etc/ssl/certs/ca-certificates.crt"
 
 
 def old_where():